aboutsummaryrefslogtreecommitdiff
path: root/src/components/status_popover/status_popover.vue
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-03-04 15:42:37 +0000
committerShpuld Shpludson <shp@cock.li>2020-03-04 15:42:37 +0000
commit83d8343777050f6ee5fad09832b3878885eda4dd (patch)
treea19ad2a67136fc21d7794848e811f092eb0e0706 /src/components/status_popover/status_popover.vue
parent1b9805b550444403792db2304b5a6d5681e8f30d (diff)
parent147364b80cae7a0fac1ccf00b5669a20de1b7e67 (diff)
Merge branch 'develop' into 'master'
Update master with 2.0.0 See merge request pleroma/pleroma-fe!1080
Diffstat (limited to 'src/components/status_popover/status_popover.vue')
-rw-r--r--src/components/status_popover/status_popover.vue10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/components/status_popover/status_popover.vue b/src/components/status_popover/status_popover.vue
index 11f6cb5a..f5948207 100644
--- a/src/components/status_popover/status_popover.vue
+++ b/src/components/status_popover/status_popover.vue
@@ -18,8 +18,14 @@
:compact="true"
/>
<div
+ v-else-if="error"
+ class="status-preview-no-content faint"
+ >
+ {{ $t('status.status_unavailable') }}
+ </div>
+ <div
v-else
- class="status-preview-loading"
+ class="status-preview-no-content"
>
<i class="icon-spin4 animate-spin" />
</div>
@@ -50,7 +56,7 @@
border: none;
}
- .status-preview-loading {
+ .status-preview-no-content {
padding: 1em;
text-align: center;