From a357fb81362789e1f052ff5406102873c88836e5 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Sat, 17 Jan 2026 19:21:12 +0800 Subject: [PATCH] automatically switch to the newly added tag group --- src/views/desktop/tags/ListPage.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/desktop/tags/ListPage.vue b/src/views/desktop/tags/ListPage.vue index 35d53bd1..d43e1d47 100644 --- a/src/views/desktop/tags/ListPage.vue +++ b/src/views/desktop/tags/ListPage.vue @@ -437,8 +437,9 @@ function addTagGroup(): void { transactionTagsStore.saveTagGroup({ tagGroup: TransactionTagGroup.createNewTagGroup(newName) - }).then(() => { + }).then(tagGroup => { updating.value = false; + activeTagGroupId.value = tagGroup.id; }).catch(error => { updating.value = false;