mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-07 02:45:22 -05:00
fix: Can't Edit Timeline Events (#6160)
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
edit: true,
|
||||
delete: true,
|
||||
}"
|
||||
@update="$emit('update')"
|
||||
@update="$emit('update', $event)"
|
||||
@delete="$emit('delete')"
|
||||
/>
|
||||
</v-col>
|
||||
@@ -96,7 +96,7 @@ import RecipeCardMobile from "./RecipeCardMobile.vue";
|
||||
import RecipeTimelineContextMenu from "./RecipeTimelineContextMenu.vue";
|
||||
import { useStaticRoutes } from "~/composables/api";
|
||||
import { useTimelineEventTypes } from "~/composables/recipes/use-recipe-timeline-events";
|
||||
import type { Recipe, RecipeTimelineEventOut } from "~/lib/api/types/recipe";
|
||||
import type { Recipe, RecipeTimelineEventOut, RecipeTimelineEventUpdate } from "~/lib/api/types/recipe";
|
||||
import UserAvatar from "~/components/Domain/User/UserAvatar.vue";
|
||||
import SafeMarkdown from "~/components/global/SafeMarkdown.vue";
|
||||
|
||||
@@ -113,7 +113,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
|
||||
defineEmits<{
|
||||
selected: [];
|
||||
update: [];
|
||||
update: [event: RecipeTimelineEventUpdate];
|
||||
delete: [];
|
||||
}>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user