Skip to content

Commit accd122

Browse files
committed
Fixes problem with removing an event
fixes #79
1 parent d15efde commit accd122

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/ui/preview-card/preview-card.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const changeVisibleControls = (value = true) => {
5151
const deleteEvent = () => {
5252
const { $events } = useNuxtApp();
5353
54-
return $events?.removeById;
54+
return $events?.removeById(props.event.id);
5555
};
5656
5757
const downloadImage = () => {

0 commit comments

Comments
 (0)