Move mentions loading text out of header

This commit is contained in:
Max Leiter 2020-04-13 00:59:18 -07:00
parent 999095b7df
commit 177d4d78ba

View File

@ -8,10 +8,10 @@
<div class="mentions-popup">
<div class="mentions-popup-title">
Recent mentions
<span v-if="isLoading">- Loading</span>
</div>
<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 v-for="message in resolvedMessages" v-else>
<div :key="message.id" :class="['msg', message.type]">