From 9a4d279c5af248287413598919e512ffac5c0e30 Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Mon, 12 Sep 2022 13:35:42 +0200 Subject: [PATCH] Inject cluster config in header variable --- web/frontend/src/Header.svelte | 4 ++-- web/frontend/src/filters/Resources.svelte | 9 +++++---- web/web.go | 6 ++++-- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/web/frontend/src/Header.svelte b/web/frontend/src/Header.svelte index f99956a..95675f4 100644 --- a/web/frontend/src/Header.svelte +++ b/web/frontend/src/Header.svelte @@ -42,8 +42,8 @@ {#each clusters as cluster} - - {cluster} + + {cluster.name} {/each} diff --git a/web/frontend/src/filters/Resources.svelte b/web/frontend/src/filters/Resources.svelte index 8cad9ee..a9a5cb9 100644 --- a/web/frontend/src/filters/Resources.svelte +++ b/web/frontend/src/filters/Resources.svelte @@ -1,10 +1,10 @@