diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-16 23:19:39 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-16 23:19:39 +0900 |
| commit | 0d680b060ef1025a253bea956287fe9b1df05843 (patch) | |
| tree | dd029a6978a3489852c8a19776671a590e5ff4b9 /src | |
| parent | Tweak UI (diff) | |
| download | misskey-0d680b060ef1025a253bea956287fe9b1df05843.tar.gz misskey-0d680b060ef1025a253bea956287fe9b1df05843.tar.bz2 misskey-0d680b060ef1025a253bea956287fe9b1df05843.zip | |
Tweak UI
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/components/notes.vue | 2 | ||||
| -rw-r--r-- | src/client/components/notifications.vue | 2 | ||||
| -rw-r--r-- | src/client/ui/chat/notes.vue | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/src/client/components/notes.vue b/src/client/components/notes.vue index aedf11bc40..3bcdf7dfda 100644 --- a/src/client/components/notes.vue +++ b/src/client/components/notes.vue @@ -5,6 +5,8 @@ <div>{{ $ts.noNotes }}</div> </div> + <MkLoading v-if="fetching"/> + <MkError v-if="error" @retry="init()"/> <div v-show="more && reversed" style="margin-bottom: var(--margin);"> diff --git a/src/client/components/notifications.vue b/src/client/components/notifications.vue index 0891108d8b..12d2d2cbd2 100644 --- a/src/client/components/notifications.vue +++ b/src/client/components/notifications.vue @@ -1,5 +1,7 @@ <template> <div class="mfcuwfyp _noGap_ _magnetParent"> + <MkLoading v-if="fetching"/> + <XList class="notifications _magnetChild" :items="items" v-slot="{ item: notification }"> <XNote v-if="['reply', 'quote', 'mention'].includes(notification.type)" :note="notification.note" @update:note="noteUpdated(notification.note, $event)" :key="notification.id"/> <XNotification v-else :notification="notification" :with-time="true" :full="true" class="_panel notification" :key="notification.id"/> diff --git a/src/client/ui/chat/notes.vue b/src/client/ui/chat/notes.vue index 45c2bd17a1..3ced6d8b3c 100644 --- a/src/client/ui/chat/notes.vue +++ b/src/client/ui/chat/notes.vue @@ -5,6 +5,8 @@ <div>{{ $ts.noNotes }}</div> </div> + <MkLoading v-if="fetching"/> + <MkError v-if="error" @retry="init()"/> <div v-show="more && reversed" style="margin-bottom: var(--margin);"> |