mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
automatically switch to the newly added tag group
This commit is contained in:
@@ -437,8 +437,9 @@ function addTagGroup(): void {
|
|||||||
|
|
||||||
transactionTagsStore.saveTagGroup({
|
transactionTagsStore.saveTagGroup({
|
||||||
tagGroup: TransactionTagGroup.createNewTagGroup(newName)
|
tagGroup: TransactionTagGroup.createNewTagGroup(newName)
|
||||||
}).then(() => {
|
}).then(tagGroup => {
|
||||||
updating.value = false;
|
updating.value = false;
|
||||||
|
activeTagGroupId.value = tagGroup.id;
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
updating.value = false;
|
updating.value = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user