aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline/timeline.js
diff options
context:
space:
mode:
authortaehoon <th.dev91@gmail.com>2019-07-19 21:48:09 -0400
committertaehoon <th.dev91@gmail.com>2019-07-24 21:02:37 -0400
commit4826d7254954390f13b1aa33e740e4f4d3598908 (patch)
treed5b6c6cad100548affd215cd0faee28b19742028 /src/components/timeline/timeline.js
parent7f9feacd264915df92d14399dc9c1aa5cb4d22e7 (diff)
update prop name
Diffstat (limited to 'src/components/timeline/timeline.js')
-rw-r--r--src/components/timeline/timeline.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index 55602c7b..7c8a761a 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -12,7 +12,7 @@ const Timeline = {
'tag',
'embedded',
'count',
- 'excludedStatusIds'
+ 'pinnedStatusIds'
],
data () {
return {
@@ -42,8 +42,8 @@ const Timeline = {
}
},
statuses () {
- if (this.excludedStatusIds && this.excludedStatusIds.length > 0) {
- return this.timeline.visibleStatuses && this.timeline.visibleStatuses.filter(status => !this.excludedStatusIds.includes(status.id))
+ if (this.pinnedStatusIds && this.pinnedStatusIds.length > 0) {
+ return this.timeline.visibleStatuses && this.timeline.visibleStatuses.filter(status => !this.pinnedStatusIds.includes(status.id))
} else {
return this.timeline.visibleStatuses
}