summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2020-10-18 10:28:17 +0900
committersyuilo <syuilotan@yahoo.co.jp>2020-10-18 10:28:17 +0900
commit57cd0fb93fdbd7db2fdc09b6272ed4285b434e14 (patch)
tree1462acd47f7d61fc5e51de7ad00e8e2e3dcf6785 /src
parentImprove api error dialog (diff)
downloadsharkey-57cd0fb93fdbd7db2fdc09b6272ed4285b434e14.tar.gz
sharkey-57cd0fb93fdbd7db2fdc09b6272ed4285b434e14.tar.bz2
sharkey-57cd0fb93fdbd7db2fdc09b6272ed4285b434e14.zip
Fix user page bug
Diffstat (limited to 'src')
-rw-r--r--src/client/pages/user/index.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/pages/user/index.vue b/src/client/pages/user/index.vue
index bbbf15210b..d9eaf47442 100644
--- a/src/client/pages/user/index.vue
+++ b/src/client/pages/user/index.vue
@@ -85,8 +85,8 @@
<router-view :user="user"></router-view>
<template v-if="$route.name == 'user'">
- <div class="_section" v-if="user.pinnedNotes.length > 0">
- <div class="_content _vMargin">
+ <div class="_section">
+ <div class="_content _vMargin" v-if="user.pinnedNotes.length > 0">
<XNote v-for="note in user.pinnedNotes" class="note _vMargin" :note="note" @update:note="pinnedNoteUpdated(note, $event)" :key="note.id" :detail="true" :pinned="true"/>
</div>
<MkFolder :body-togglable="true" class="_content _vMargin" persist-key="user-images">