diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index 2a206df..ff79a1a 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -994,6 +994,7 @@
width={2}
height={Math.max(item.h, 2)}
oneventsclick={() => handleEventsClick(tile.stats!.id)}
+ showStacksBreakdown={false}
/>
{/if}
diff --git a/src/routes/dashboard/EnvironmentTile.svelte b/src/routes/dashboard/EnvironmentTile.svelte
index 04f5d07..1f170f3 100644
--- a/src/routes/dashboard/EnvironmentTile.svelte
+++ b/src/routes/dashboard/EnvironmentTile.svelte
@@ -26,9 +26,10 @@
width?: number;
height?: number;
oneventsclick?: () => void;
+ showStacksBreakdown?: boolean;
}
- let { stats, width = 1, height = 1, oneventsclick }: Props = $props();
+ let { stats, width = 1, height = 1, oneventsclick, showStacksBreakdown = true }: Props = $props();
const EnvIcon = $derived(getIconComponent(stats.icon));
@@ -349,7 +350,7 @@
{#if stats.collectMetrics && stats.metrics}
{/if}
-
+
{/if}
@@ -450,7 +451,7 @@
{#if stats.collectMetrics && stats.metrics}
{/if}
-
+
{#if stats.recentEvents}
@@ -554,7 +555,7 @@
{#if stats.collectMetrics && stats.metrics}
{/if}
-
+
{#if stats.recentEvents}
@@ -599,7 +600,7 @@
{#if stats.metrics}
{/if}
-
+
@@ -645,7 +646,7 @@
{#if stats.metrics}
{/if}
-
+
{#if stats.recentEvents}
@@ -697,7 +698,7 @@
{#if stats.metrics}
{/if}
-
+
{#if stats.recentEvents}
diff --git a/src/routes/dashboard/dashboard-resource-stats.svelte b/src/routes/dashboard/dashboard-resource-stats.svelte
index 5dd3457..321c15f 100644
--- a/src/routes/dashboard/dashboard-resource-stats.svelte
+++ b/src/routes/dashboard/dashboard-resource-stats.svelte
@@ -14,9 +14,10 @@
networks: { total: number };
stacks: { total: number; running: number; partial: number; stopped: number };
loading?: LoadingStates;
+ showStacksBreakdown?: boolean;
}
- let { images, volumes, networks, stacks, loading }: Props = $props();
+ let { images, volumes, networks, stacks, loading, showStacksBreakdown = true }: Props = $props();
// Only show skeleton if loading AND we don't have data yet
// This prevents blinking when refreshing with existing data
@@ -46,7 +47,7 @@
{:else}
{stacks.total}
- {#if stacks.total > 0}
+ {#if showStacksBreakdown && stacks.total > 0}
{stacks.running}/{stacks.partial}/{stacks.stopped}
{/if}