console log

This commit is contained in:
ThatOneCalculator 2023-03-23 23:59:42 -07:00
parent b7a5799698
commit 25d44f500b
No known key found for this signature in database
GPG Key ID: 8703CACD01000000

View File

@ -47,7 +47,7 @@
</div> </div>
<button v-if="isMobile && mainRouter.currentRoute.value.name === 'index'" ref="postButton" class="postButton button post _button" @click="os.post()"><i class="ph-pencil ph-bold ph-lg"></i></button> <button v-if="isMobile && mainRouter.currentRoute.value.name === 'index'" ref="postButton" class="postButton button post _button" @click="os.post()"><i class="ph-pencil ph-bold ph-lg"></i></button>
<button v-if="isMobile && mainRouter.currentRoute.value.name === '/my/messaging'" ref="chatButton" class="postButton button post _button" @click="messagingStart()"><i class="ph-user-plus ph-bold ph-lg"></i></button> <button v-if="isMobile && mainRouter.currentRoute.value.name === '/my/messaging'" ref="postButton" class="postButton button post _button" @click="messagingStart()"><i class="ph-user-plus ph-bold ph-lg"></i></button>
<transition :name="$store.state.animation ? 'menuDrawer-back' : ''"> <transition :name="$store.state.animation ? 'menuDrawer-back' : ''">
<div <div
@ -117,7 +117,6 @@ const drawerMenuShowing = ref(false);
let pageMetadata = $ref<null | ComputedRef<PageMetadata>>(); let pageMetadata = $ref<null | ComputedRef<PageMetadata>>();
const widgetsEl = $ref<HTMLElement>(); const widgetsEl = $ref<HTMLElement>();
const postButton = $ref<HTMLElement>(); const postButton = $ref<HTMLElement>();
const chatButton = $ref<HTMLElement>();
const widgetsShowing = $ref(false); const widgetsShowing = $ref(false);
provide('router', mainRouter); provide('router', mainRouter);
@ -259,7 +258,7 @@ function top() {
} }
const wallpaper = localStorage.getItem('wallpaper') != null; const wallpaper = localStorage.getItem('wallpaper') != null;
console.log(mainRouter.currentRoute.value.name);
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>