Skip to content

Commit

Permalink
fix: remove attachment should only remove selected file
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitbhanushali committed May 13, 2024
1 parent 649bfa7 commit 2915f8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion desk/src/pages/ticket/TicketTextEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@click.stop="
$emit(
'update:attachments',
attachments.filter((a) => a.file_url !== a.file_url)
attachments.filter((b) => b.file_url !== a.file_url)
)
"
/>
Expand Down

0 comments on commit 2915f8d

Please sign in to comment.