Skip to content
Snippets Groups Projects
Commit 5675b932 authored by Tae Hoon's avatar Tae Hoon
Browse files

Improve readability using v-if and v-else

parent 4528a4cb
No related branches found
No related tags found
No related merge requests found
......@@ -8,11 +8,11 @@
@touchmove="touchMove"
>
<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"/>
<span>{{sitename}}</span>
</div>
<user-card-content :user="currentUser" :switcher="false" :hideBio="true" v-if="currentUser"/>
</div>
<ul>
<li v-if="currentUser" @click="toggleDrawer">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment