aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-03-24 14:09:25 +0200
committerHenry Jameson <me@hjkos.com>2022-03-24 14:09:25 +0200
commitb7755314b1dec6b7ff187d59fdf3a5f914b5be61 (patch)
treee3cee832e1d5e1a7f4efb0139f0f5cb6d6a08f8a /src/components/timeline/timeline.js
parent3fb647b34bd0cb6eafd61c4a21dcb0e6e2c22675 (diff)
fix forms closing in timelines
Diffstat (limited to 'src/components/timeline/timeline.js')
-rw-r--r--src/components/timeline/timeline.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index e896a23c..6ede1dc5 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -40,6 +40,12 @@ const Timeline = {
TimelineQuickSettings
},
computed: {
+ filteredVisibleStatuses () {
+ return this.timeline.visibleStatuses.filter(status => this.timelineName !== 'user' || (status.id >= this.timeline.minId && status.id <= this.timeline.maxId))
+ },
+ filteredPinnedStatusesId () {
+ return this.pinnedStatusIds.filter(statusId => this.timeline.statusesObject[statusId])
+ },
newStatusCount () {
return this.timeline.newStatusCount
},