release v2.0.0 #4
|
@ -105,19 +105,7 @@ export default defineComponent({
|
|||
const router = useRouter();
|
||||
const mainStore = useMainStore();
|
||||
const flaschengeist = inject<FG_Plugin.Flaschengeist>('flaschengeist');
|
||||
const _leftDrawer = ref<boolean|undefined>();
|
||||
const leftDrawer = computed({
|
||||
get: () => {
|
||||
if (_leftDrawer.value !== undefined) {
|
||||
return _leftDrawer.value
|
||||
}
|
||||
if (Platform.is.mobile) {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
},
|
||||
set: (val) => _leftDrawer.value = val
|
||||
})
|
||||
const leftDrawer = ref(!Platform.is.mobile);
|
||||
const leftDrawerMini = ref(false);
|
||||
const mainLinks = flaschengeist?.menuLinks || [];
|
||||
const notifications = computed(() => mainStore.notifications.slice().reverse());
|
||||
|
|
Loading…
Reference in New Issue