mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 08:14:30 -04:00
fix: Context Menu Dialogs Not Working (#6108)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<v-menu
|
||||
offset-y
|
||||
start
|
||||
:eager="isMenuContentLoaded"
|
||||
:bottom="!menuTop"
|
||||
:nudge-bottom="!menuTop ? '5' : '0'"
|
||||
:top="menuTop"
|
||||
|
||||
@@ -191,7 +191,7 @@ const props = withDefaults(defineProps<Props>(), {
|
||||
|
||||
const emit = defineEmits<{
|
||||
[key: string]: any;
|
||||
delete: [slug: string];
|
||||
deleted: [slug: string];
|
||||
}>();
|
||||
|
||||
const api = useUserApi();
|
||||
@@ -371,7 +371,7 @@ async function deleteRecipe() {
|
||||
if (data?.slug) {
|
||||
router.push(`/g/${groupSlug.value}`);
|
||||
}
|
||||
emit("delete", props.slug);
|
||||
emit("deleted", props.slug);
|
||||
}
|
||||
|
||||
const download = useDownloader();
|
||||
|
||||
Reference in New Issue
Block a user