aboutsummaryrefslogtreecommitdiff
path: root/src/components/timeline_menu/timeline_menu.js
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2022-08-09 21:46:55 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2022-08-09 21:46:55 +0000
commit7773e7de6454a7ecd79b695ba27cccabeaca184e (patch)
treef14fc29167d7b2a21264351236f1721dd0794456 /src/components/timeline_menu/timeline_menu.js
parent2867c696293a96375f60898e10d7a702f60855c5 (diff)
parent891fbf996d7ddd415d99ea9065d54b0f493b5422 (diff)
Merge branch 'lists-implementation' into 'develop'
Add lists support See merge request pleroma/pleroma-fe!1584
Diffstat (limited to 'src/components/timeline_menu/timeline_menu.js')
-rw-r--r--src/components/timeline_menu/timeline_menu.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/timeline_menu/timeline_menu.js b/src/components/timeline_menu/timeline_menu.js
index a11e7b7e..5a67b0a5 100644
--- a/src/components/timeline_menu/timeline_menu.js
+++ b/src/components/timeline_menu/timeline_menu.js
@@ -58,6 +58,9 @@ const TimelineMenu = {
if (route === 'tag-timeline') {
return '#' + this.$route.params.tag
}
+ if (route === 'lists-timeline') {
+ return this.$store.getters.findListTitle(this.$route.params.id)
+ }
const i18nkey = timelineNames()[this.$route.name]
return i18nkey ? this.$t(i18nkey) : route
}