From fc0aa4af3a0ca34374b821c4b6cbb77b09a55832 Mon Sep 17 00:00:00 2001 From: Eli Kogan-Wang Date: Fri, 24 Jan 2025 22:50:43 +0100 Subject: [PATCH] fix: ensure currentlyEditingDevice is reset after saving state in EditTagModal --- frontend/src/lib/EditTagModal.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/lib/EditTagModal.svelte b/frontend/src/lib/EditTagModal.svelte index e6b74224..0a5cb2a6 100644 --- a/frontend/src/lib/EditTagModal.svelte +++ b/frontend/src/lib/EditTagModal.svelte @@ -49,8 +49,8 @@ if (currentlyEditingDevice) { currentlyEditingDevice.tags = selectedTags.map((tag) => tag.value); } - currentlyEditingDevice = undefined; await saveState(); + currentlyEditingDevice = undefined; }} > {$t('common.save')}