mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 12:56:41 +07:00
skipping tag update on empty tags
This commit is contained in:
parent
04a7b28a53
commit
f12f952b37
2 changed files with 8 additions and 1 deletions
|
@ -252,6 +252,7 @@ function* onDeleteTag({ id, tagId }: ReturnType<typeof nodeDeleteTag>) {
|
|||
try {
|
||||
const { tags }: Unwrap<typeof apiDeleteNodeTag> = yield call(apiDeleteNodeTag, { id, tagId });
|
||||
yield put(nodeSetTags(tags));
|
||||
yield call(nodeGetRelated, id);
|
||||
} catch {}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue