fix: 💄 only show post button on home tl

This commit is contained in:
ThatOneCalculator 2022-08-19 14:41:05 -07:00
parent 21612d4f5e
commit b00a1c13a0
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@
<button class="button widget _button" @click="widgetsShowing = true"><i class="fas fa-layer-group"></i></button>
</div>
<button v-if="isMobile" id="postButton" class="postButton button post _button" @click="os.post()"><i class="fas fa-pencil-alt"></i></button>
<button v-if="isMobile && mainRouter.currentRoute.value.name === 'index'" id="postButton" class="postButton button post _button" @click="os.post()"><i class="fas fa-pencil-alt"></i></button>
<transition :name="$store.state.animation ? 'menuDrawer-back' : ''">
<div