fix (client): missing variables

This commit is contained in:
naskya 2024-07-04 16:46:38 +09:00
parent 71ebea0cd1
commit 28576b518a
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -110,6 +110,10 @@ provideMetadataReceiver((info) => {
});
const root = computed(() => mainRouter.currentRoute.value?.name === "index");
const showMenu = ref(false);
const isDesktop = ref(window.innerWidth >= DESKTOP_THRESHOLD);
const narrow = ref(window.innerWidth < 1280);
const meta = ref();
os.api("meta", { detail: true }).then((res) => {
meta.value = res;