Merge pull request #3861 from MaxLeiter/mentionsLoading

Move mentions loading text out of header
This commit is contained in:
Pavel Djundik 2020-04-15 11:23:35 +03:00 committed by GitHub
commit e772c4eab5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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]">