aboutsummaryrefslogtreecommitdiff
path: root/src
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
parent7f9feacd264915df92d14399dc9c1aa5cb4d22e7 (diff)
update prop name
Diffstat (limited to 'src')
-rw-r--r--src/components/timeline/timeline.js6
-rw-r--r--src/components/user_profile/user_profile.vue2
2 files changed, 4 insertions, 4 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
}
diff --git a/src/components/user_profile/user_profile.vue b/src/components/user_profile/user_profile.vue
index 1723cffa..81c63d7e 100644
--- a/src/components/user_profile/user_profile.vue
+++ b/src/components/user_profile/user_profile.vue
@@ -34,6 +34,7 @@
:timeline="timeline"
:timeline-name="'user'"
:user-id="userId"
+ :pinned-status-ids="user.pinnedStatuseIds"
/>
</div>
<div
@@ -75,7 +76,6 @@
timeline-name="media"
:timeline="media"
:user-id="userId"
- :excludedStatusIds="user.pinnedStatuseIds"
/>
<Timeline
v-if="isUs"