diff --git a/src/routes/_Trend.svelte b/src/routes/_Trend.svelte index 140ac6d6d..723ba2a39 100644 --- a/src/routes/_Trend.svelte +++ b/src/routes/_Trend.svelte @@ -3,7 +3,7 @@ {#if trend === 'up'} - + {:else if trend === 'down'} - +
Total Memory
- {(usage?.memory.totalMemMb).toFixed(0)} + {(usage?.memory.totalMemMb).toFixed(0)}MB
Used Memory
- {(usage?.memory.usedMemMb).toFixed(0)} + {(usage?.memory.usedMemMb).toFixed(0)}MB
Free Memory
-
- {usage?.memory.freeMemPercentage}% +
+ {usage?.memory.freeMemPercentage}% {#if !memoryWarning} {/if} @@ -180,8 +180,8 @@
CPU Usage
-
- {usage?.cpu.usage}% +
+ {usage?.cpu.usage}% {#if !cpuWarning} {/if} @@ -192,19 +192,19 @@
Total Disk
- {usage?.disk.totalGb}GB + {usage?.disk.totalGb}GB
Used Disk
- {usage?.disk.usedGb}GB + {usage?.disk.usedGb}GB
Free Disk
-
- {usage?.disk.freePercentage}% +
+ {usage?.disk.freePercentage}% {#if !diskWarning} {/if}