diff options
Diffstat (limited to 'src/views/_sila')
-rw-r--r-- | src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue index 6f30576a..44e5e18b 100644 --- a/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue +++ b/src/views/_sila/Processors/Dynamic/ProcessorsDynamicPage.vue @@ -82,6 +82,8 @@ import LoadingBarMixin from '@/components/_sila/Mixins/LoadingBarMixin'; import TableFilterMixin from '@/components/_sila/Mixins/TableFilterMixin'; import Collapse from '@/components/_sila/Global/Collapse'; +import { getItems } from '@/utilities/_sila/metricProperties'; + export default { components: { PageTitle, Collapse, PageSection, Chart }, mixins: [DataFormatterMixin, LoadingBarMixin, TableFilterMixin], @@ -197,7 +199,11 @@ export default { }); }, }, - + watch: { + filteredSensors(data) { + this.items = getItems(data); + }, + }, created() { this.startLoader(); this.$store.dispatch('processors/getProcessorsDynamic').finally(() => { |