This commit is contained in:
2026-07-19 07:37:13 +02:00
parent e998ba8fc7
commit 3344064030
3 changed files with 27 additions and 2 deletions

View File

@@ -155,7 +155,13 @@
postid,
existingTags: tags,
anchorEl: anchor,
onSubmit: async (tag) => post("/api/v2/tags/" + postid, { tagname: tag }),
onSubmit: async (tag) => {
const res = await post("/api/v2/tags/" + postid, { tagname: tag });
if (res.success && window.invalidateItemCache) {
window.invalidateItemCache(postid);
}
return res;
},
renderTags
});
};