Skip to content

Commit

Permalink
fix: ensure currentlyEditingDevice is reset after saving state in Edi…
Browse files Browse the repository at this point in the history
…tTagModal
  • Loading branch information
elikoga committed Jan 24, 2025
1 parent b8610e8 commit fc0aa4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/EditTagModal.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
if (currentlyEditingDevice) {
currentlyEditingDevice.tags = selectedTags.map((tag) => tag.value);
}
currentlyEditingDevice = undefined;
await saveState();
currentlyEditingDevice = undefined;
}}
>
{$t('common.save')}
Expand Down

0 comments on commit fc0aa4a

Please sign in to comment.