summaryrefslogtreecommitdiff
path: root/src/views/_sila/Processors/Dynamic/CpuPower.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/views/_sila/Processors/Dynamic/CpuPower.vue')
-rw-r--r--src/views/_sila/Processors/Dynamic/CpuPower.vue4
1 files changed, 3 insertions, 1 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;
});
},
},