Skip to content

Commit 8c2ba09

Browse files
authored
Merge pull request #82 from buggregator/hotfix/79
Fixes problem with removing an event
2 parents a194b59 + accd122 commit 8c2ba09

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)