diff options
Diffstat (limited to 'src/views/_sila/Processors')
-rw-r--r-- | src/views/_sila/Processors/Dynamic/CpuPower.vue | 4 | ||||
-rw-r--r-- | src/views/_sila/Processors/Dynamic/CpuTemp.vue | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/views/_sila/Processors/Dynamic/CpuPower.vue b/src/views/_sila/Processors/Dynamic/CpuPower.vue index 7ca9e19b..732ddd09 100644 --- a/src/views/_sila/Processors/Dynamic/CpuPower.vue +++ b/src/views/_sila/Processors/Dynamic/CpuPower.vue @@ -40,7 +40,6 @@ :shutdown="+shutdown" ></chart> <b-table - v-if="items && items.length > 0" responsive="md" show-empty table-variant="accessory" @@ -48,6 +47,7 @@ :items="items" :fields="fields" :empty-text="$t('global.table.emptyMessage')" + :busy="isBusy" > <template #cell(name)="{ value, index }"> <div @@ -100,6 +100,7 @@ export default { return { warning: 66, shutdown: 88, + isBusy: true, fields: [ { key: 'name', @@ -163,6 +164,7 @@ export default { .dispatch('processors/getCpuPowerDynamic', payload) .finally(() => { this.endLoader(); + this.isBusy = false; }); }, }, diff --git a/src/views/_sila/Processors/Dynamic/CpuTemp.vue b/src/views/_sila/Processors/Dynamic/CpuTemp.vue index e879cca8..ebe3e22a 100644 --- a/src/views/_sila/Processors/Dynamic/CpuTemp.vue +++ b/src/views/_sila/Processors/Dynamic/CpuTemp.vue @@ -47,7 +47,6 @@ :critical="+critical" ></chart> <b-table - v-if="items && items.length > 0" responsive="md" show-empty table-variant="accessory" @@ -55,6 +54,7 @@ :items="items" :fields="fields" :empty-text="$t('global.table.emptyMessage')" + :busy="isBusy" > <template #cell(name)="{ value, index }"> <div @@ -108,6 +108,7 @@ export default { warning: 72, notNormal: 44, critical: 55, + isBusy: true, fields: [ { key: 'name', @@ -192,6 +193,7 @@ export default { .dispatch('processors/getCpuTempDynamic', payload) .finally(() => { this.endLoader(); + this.isBusy = false; }); }, }, |