From 1b5cb10debc580f79dc3384ec108ec594d49266e Mon Sep 17 00:00:00 2001 From: Alex Tideman Date: Mon, 18 Nov 2024 11:56:53 -0600 Subject: [PATCH 1/2] Add href prop to Combobox to get reactive hrefs working correctly --- src/lib/components/top-nav.svelte | 14 +++--------- src/lib/holocene/combobox/combobox.svelte | 27 +++++++++++++++++++++++ 2 files changed, 30 insertions(+), 11 deletions(-) diff --git a/src/lib/components/top-nav.svelte b/src/lib/components/top-nav.svelte index 99cc3f2ff..aeeca75ea 100644 --- a/src/lib/components/top-nav.svelte +++ b/src/lib/components/top-nav.svelte @@ -3,7 +3,6 @@ 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 { translate } from '$lib/i18n/translate'; import { lastUsedNamespace } from '$lib/stores/namespaces'; @@ -48,16 +47,9 @@ on:change={handleNamespaceSelect} minSize={32} actionTooltip={translate('namespaces.go-to-namespace')} - > -