delete reply working
This commit is contained in:
parent
6cc8325d2b
commit
dd6eff2904
4 changed files with 6 additions and 6 deletions
|
|
@ -141,7 +141,7 @@ async function deleteComment(event) {
|
|||
// If there is an active track,
|
||||
// it's not the opened file that should be updated
|
||||
// but the corresponding file in the active track
|
||||
if (activeTracks.value.length > 0) {
|
||||
if (activeTracks.value?.length > 0) {
|
||||
activeTracks.value[0].files = activeTracks.value[0].files.map((file) => {
|
||||
if (file.uuid !== newFile.uuid) return file;
|
||||
return newFile;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue