Inject cluster config in header variable

This commit is contained in:
Jan Eitzinger
2022-09-12 13:35:42 +02:00
parent 10c6b366a5
commit 9a4d279c5a
3 changed files with 11 additions and 8 deletions

View File

@@ -42,8 +42,8 @@
</DropdownToggle>
<DropdownMenu>
{#each clusters as cluster}
<DropdownItem href={item.href + cluster} active={window.location.pathname == item.href + cluster}>
{cluster}
<DropdownItem href={item.href + cluster.name} active={window.location.pathname == item.href + cluster.name}>
{cluster.name}
</DropdownItem>
{/each}
</DropdownMenu>