Fix user page bug

This commit is contained in:
syuilo 2020-10-18 10:28:17 +09:00
parent a15299ae53
commit 57cd0fb93f
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@
<router-view :user="user"></router-view> <router-view :user="user"></router-view>
<template v-if="$route.name == 'user'"> <template v-if="$route.name == 'user'">
<div class="_section" v-if="user.pinnedNotes.length > 0"> <div class="_section">
<div class="_content _vMargin"> <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"/> <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> </div>
<MkFolder :body-togglable="true" class="_content _vMargin" persist-key="user-images"> <MkFolder :body-togglable="true" class="_content _vMargin" persist-key="user-images">