Merge pull request #3861 from MaxLeiter/mentionsLoading
Move mentions loading text out of header
This commit is contained in:
commit
e772c4eab5
@ -8,10 +8,10 @@
|
|||||||
<div class="mentions-popup">
|
<div class="mentions-popup">
|
||||||
<div class="mentions-popup-title">
|
<div class="mentions-popup-title">
|
||||||
Recent mentions
|
Recent mentions
|
||||||
<span v-if="isLoading">- Loading…</span>
|
|
||||||
</div>
|
</div>
|
||||||
<template v-if="resolvedMessages.length === 0">
|
<template v-if="resolvedMessages.length === 0">
|
||||||
<p>There are no recent mentions.</p>
|
<p v-if="isLoading">Loading…</p>
|
||||||
|
<p v-else>There are no recent mentions.</p>
|
||||||
</template>
|
</template>
|
||||||
<template v-for="message in resolvedMessages" v-else>
|
<template v-for="message in resolvedMessages" v-else>
|
||||||
<div :key="message.id" :class="['msg', message.type]">
|
<div :key="message.id" :class="['msg', message.type]">
|
||||||
|
Loading…
Reference in New Issue
Block a user