Browse Source

do not display anything below the Analytic Status if analytic is not available

pull/91/head
rozetko 2 years ago
parent
commit
4ed8ba1193
  1. 6
      client/src/views/Home.vue

6
client/src/views/Home.vue

@ -4,6 +4,8 @@
<graph ref="graph" />
<analytic-status />
<template v-if="analyticStatus.available">
<div>
Analytic unit type:
<select :value="analyticUnitType" @change="changeAnalyticUnitType">
@ -46,6 +48,7 @@
<br/>
</div>
</div>
</template>
</div>
</template>
@ -140,6 +143,9 @@ export default defineComponent({
},
analyticUnitConfig() {
return this.$store.state.analyticUnitConfig;
},
analyticStatus() {
return this.$store.state.analyticStatus;
}
}
});

Loading…
Cancel
Save