Move mentions loading text out of header
This commit is contained in:
parent
999095b7df
commit
177d4d78ba
@ -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