mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 00:04:23 -04:00
fix: Incorrect Usage of $vuetify.display (#6066)
This commit is contained in:
@@ -38,11 +38,12 @@ import TheSnackbar from "~/components/Layout/LayoutParts/TheSnackbar.vue";
|
||||
import type { SidebarLinks } from "~/types/application-types";
|
||||
|
||||
const i18n = useI18n();
|
||||
const { $globals, $vuetify } = useNuxtApp();
|
||||
const display = useDisplay();
|
||||
const { $globals } = useNuxtApp();
|
||||
|
||||
const sidebar = ref<boolean>(false);
|
||||
onMounted(() => {
|
||||
sidebar.value = !$vuetify.display.md.value;
|
||||
sidebar.value = !display.md.value;
|
||||
});
|
||||
|
||||
const topLinks: SidebarLinks = [
|
||||
|
||||
Reference in New Issue
Block a user