comments : do not add duplicate comments
This commit is contained in:
parent
db7b6171f7
commit
d022a9094b
2 changed files with 7 additions and 0 deletions
|
|
@ -222,6 +222,7 @@ async function addComment(newComment) {
|
|||
const newFile = await api.addComment(newComment);
|
||||
resetDraftComment();
|
||||
isAddOpen.value = false;
|
||||
if (!newFile) return;
|
||||
dialog.updateFile(newFile);
|
||||
if (activeTracks.value) {
|
||||
activeTracks.value = activeTracks.value.map((track) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue