diff options
Diffstat (limited to 'src/views/_sila/Motherboard')
-rw-r--r-- | src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue b/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue index 4c8f3345..0fba91dd 100644 --- a/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue +++ b/src/views/_sila/Motherboard/Dynamic/MotherboardTemp.vue @@ -38,7 +38,13 @@ </b-col> </b-row> </b-form> + <b-col v-if="isNoData" class="chart-no-data"> + <span> + {{ $t('global.table.emptyMessage') }} + </span> + </b-col> <chart + v-else type="motherboard" :time-scale="timeScale" :colors="colors" @@ -116,6 +122,7 @@ export default { loading, warning: null, isBusy: false, + isNoData: false, fields: [ { key: 'name', @@ -266,6 +273,9 @@ export default { this.endLoader(); this.isBusy = false; this.$root.$emit('motherboard', false); + if (this.filteredSensors.length === 0) { + this.isNoData = true; + } }, }, }; |