release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
1 changed files with 1 additions and 13 deletions
Showing only changes of commit 04e3c57397 - Show all commits

View File

@ -105,19 +105,7 @@ export default defineComponent({
const router = useRouter(); const router = useRouter();
const mainStore = useMainStore(); const mainStore = useMainStore();
const flaschengeist = inject<FG_Plugin.Flaschengeist>('flaschengeist'); const flaschengeist = inject<FG_Plugin.Flaschengeist>('flaschengeist');
const _leftDrawer = ref<boolean|undefined>(); const leftDrawer = ref(!Platform.is.mobile);
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 leftDrawerMini = ref(false); const leftDrawerMini = ref(false);
const mainLinks = flaschengeist?.menuLinks || []; const mainLinks = flaschengeist?.menuLinks || [];
const notifications = computed(() => mainStore.notifications.slice().reverse()); const notifications = computed(() => mainStore.notifications.slice().reverse());