refactor: ♻️ show disabled message if disabled
ref: https://git.joinfirefish.org/firefish/firefish/-/issues/10527#note_230
This commit is contained in:
parent
03ddc970d5
commit
487fd3faaf
1 changed files with 6 additions and 1 deletions
|
@ -12,8 +12,13 @@
|
||||||
<i class="ph-sort-ascending ph-bold ph-lg"></i></button
|
<i class="ph-sort-ascending ph-bold ph-lg"></i></button
|
||||||
></template>
|
></template>
|
||||||
|
|
||||||
|
<div v-if="!instance.enableServerMachineStats" class="mkw-serverMetric">
|
||||||
|
<h3 style="text-align: center; color: var(--error)">
|
||||||
|
{{ i18n.ts.disabled }}
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="meta && instance.enableServerMachineStats"
|
v-else-if="meta && instance.enableServerMachineStats"
|
||||||
class="mkw-serverMetric"
|
class="mkw-serverMetric"
|
||||||
>
|
>
|
||||||
<XCpuMemory
|
<XCpuMemory
|
||||||
|
|
Loading…
Reference in a new issue