summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-08-29 18:10:48 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-08-29 18:10:48 +0300
commit3c408e929edb69226d14ec2d90e83aac1cd2d843 (patch)
tree7b8426fe899b6826140baf9aa835e13bd335b04a /src/components
parent139aa7f25d88cb693e23b07641a1f59e19fdd2bb (diff)
downloadwebui-vue-3c408e929edb69226d14ec2d90e83aac1cd2d843.tar.xz
add opened flag to chart
Diffstat (limited to 'src/components')
-rw-r--r--src/components/_sila/Global/Chart.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/_sila/Global/Chart.vue b/src/components/_sila/Global/Chart.vue
index f09d676f..2d335636 100644
--- a/src/components/_sila/Global/Chart.vue
+++ b/src/components/_sila/Global/Chart.vue
@@ -1,5 +1,5 @@
<template>
- <highcharts :options="chartOptions" />
+ <highcharts v-if="opened" :options="chartOptions" />
</template>
<script>
@@ -43,6 +43,10 @@ export default {
type: Boolean,
default: false,
},
+ opened: {
+ type: Boolean,
+ default: true,
+ },
},
computed: {
readyData() {