diff --git a/src/lib/components/top-nav.svelte b/src/lib/components/top-nav.svelte index 895de4515..db01c19d5 100644 --- a/src/lib/components/top-nav.svelte +++ b/src/lib/components/top-nav.svelte @@ -3,6 +3,7 @@ import DataEncoderStatus from '$lib/components/data-encoder-status.svelte'; import TimezoneSelect from '$lib/components/timezone-select.svelte'; + import Button from '$lib/holocene/button.svelte'; import Combobox from '$lib/holocene/combobox/combobox.svelte'; import { Menu, @@ -73,9 +74,16 @@ optionValueKey="namespace" on:change={handleNamespaceSelect} minSize={32} - href={routeForNamespace({ namespace })} - linkDisabled={!namespaceExists} - /> + > + - {#if href} + {#if $$slots.action}
- + {/if}
{#if error && !valid} @@ -348,14 +336,6 @@