mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-07 02:45:22 -05:00
fix: Incorrect Usage of $vuetify.display (#6066)
This commit is contained in:
@@ -117,7 +117,8 @@ defineEmits<{
|
||||
delete: [];
|
||||
}>();
|
||||
|
||||
const { $vuetify, $globals } = useNuxtApp();
|
||||
const { $globals } = useNuxtApp();
|
||||
const display = useDisplay();
|
||||
const { recipeTimelineEventImage } = useStaticRoutes();
|
||||
const { eventTypeOptions } = useTimelineEventTypes();
|
||||
|
||||
@@ -127,7 +128,7 @@ const route = useRoute();
|
||||
const groupSlug = computed(() => (route.params.groupSlug as string) || currentUser?.value?.groupSlug || "");
|
||||
|
||||
const useMobileFormat = computed(() => {
|
||||
return $vuetify.display.smAndDown.value;
|
||||
return display.smAndDown.value;
|
||||
});
|
||||
|
||||
const attrs = computed(() => {
|
||||
|
||||
Reference in New Issue
Block a user