mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-14 15:07:33 +08:00
automatically switch to the newly added tag group
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user