forked from AkkomaGang/akkoma-fe
Improve readability using v-if and v-else
This commit is contained in:
parent
4528a4cbfa
commit
5675b9326c
1 changed files with 2 additions and 2 deletions
|
@ -8,11 +8,11 @@
|
||||||
@touchmove="touchMove"
|
@touchmove="touchMove"
|
||||||
>
|
>
|
||||||
<div class="side-drawer-heading" @click="toggleDrawer">
|
<div class="side-drawer-heading" @click="toggleDrawer">
|
||||||
<div class="side-drawer__logo-wrapper" v-if="!currentUser">
|
<user-card-content :user="currentUser" :switcher="false" :hideBio="true" v-if="currentUser"/>
|
||||||
|
<div class="side-drawer__logo-wrapper" v-else>
|
||||||
<img :src="logo"/>
|
<img :src="logo"/>
|
||||||
<span>{{sitename}}</span>
|
<span>{{sitename}}</span>
|
||||||
</div>
|
</div>
|
||||||
<user-card-content :user="currentUser" :switcher="false" :hideBio="true" v-if="currentUser"/>
|
|
||||||
</div>
|
</div>
|
||||||
<ul>
|
<ul>
|
||||||
<li v-if="currentUser" @click="toggleDrawer">
|
<li v-if="currentUser" @click="toggleDrawer">
|
||||||
|
|
Loading…
Reference in a new issue