summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2020-10-15 15:21:01 +0200
committerRobin Appelman <robin@icewind.nl>2020-10-15 15:21:01 +0200
commit638b79ca25a296a6cfe1da4aa1c2bf130e5f6cb5 (patch)
tree2c383b8765be732fde43ecd5102ffd63dd6d6707 /src
parent19dfe49661fcee7e29f6b88e37cd71b19e0297b2 (diff)
remove empty content after a post has been added
Fixes #1070 Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'src')
-rw-r--r--src/components/TimelineList.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/TimelineList.vue b/src/components/TimelineList.vue
index 9e86912a..1dae5df8 100644
--- a/src/components/TimelineList.vue
+++ b/src/components/TimelineList.vue
@@ -33,7 +33,7 @@
<div class="list-end" />
</div>
<div slot="no-results">
- <empty-content :item="emptyContentData" />
+ <empty-content v-if="timeline.length === 0" :item="emptyContentData" />
</div>
</infinite-loading>
</div>