Skip to content

Commit

Permalink
Update Home.vue
Browse files Browse the repository at this point in the history
  • Loading branch information
pietheinstrengholt authored Aug 6, 2023
1 parent 12a3b81 commit a2d1c3f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/components/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
</div>
<infinite-loading v-if="firstLoad" ref="infiniteLoading" @infinite="infiniteHandler">
<template v-slot:no-more>
<p v-if="this.store.currentSelection.status == 'unread' && container.length > pool.length" v-on:click="flushPool()" id="no-more">No more posts for this selection. <br>Click here to mark all remaining items as read!</p>
<p v-if="this.store.currentSelection.status != 'unread'" id="no-more">No more posts for this selection. You reached the bottom!</p>
<p v-if="this.store.currentSelection.status == 'unread' && container.length > pool.length" v-on:click="flushPool()" id="no-more">You reached the bottom. <br>Click here to mark all remaining items as read!</p>
<p v-if="this.store.currentSelection.status != 'unread'" id="no-more">You reached the bottom!</p>
</template>
<template v-slot:no-results>
<p v-if="container.length == 0" id="no-results">No posts have been found!<br><br></p>
<p v-if="container.length == 0" id="no-results">No posts found!<br><br></p>
</template>
</infinite-loading>
</template>
Expand Down Expand Up @@ -338,4 +338,4 @@ export default {
}
}
};
</script>
</script>

0 comments on commit a2d1c3f

Please sign in to comment.