From 27d2ac6f6629f7ac10b2a572d21af124a18ab951 Mon Sep 17 00:00:00 2001 From: Matrix-Sasuke Date: Thu, 14 Nov 2024 17:23:05 +0100 Subject: [PATCH] fix bookmarks not showing on mobile properly --- changelog.d/show-bookmarks-on-mobile.fix | 2 +- src/components/navigation/navigation.js | 3 ++- src/components/side_drawer/side_drawer.vue | 15 +++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) diff --git a/changelog.d/show-bookmarks-on-mobile.fix b/changelog.d/show-bookmarks-on-mobile.fix index 620c3c63..3b5db483 100644 --- a/changelog.d/show-bookmarks-on-mobile.fix +++ b/changelog.d/show-bookmarks-on-mobile.fix @@ -1 +1 @@ -Bookmarks on mobile were no longer showing +Bookmarks visible again on mobile diff --git a/src/components/navigation/navigation.js b/src/components/navigation/navigation.js index face430e..9fc264ba 100644 --- a/src/components/navigation/navigation.js +++ b/src/components/navigation/navigation.js @@ -32,7 +32,8 @@ export const TIMELINES = { bookmarks: { route: 'bookmarks', icon: 'bookmark', - label: 'nav.bookmarks' + label: 'nav.bookmarks', + criteria: ['!supportsBookmarkFolders'] }, favorites: { routeObject: { name: 'user-profile', query: { tab: 'favorites' } }, diff --git a/src/components/side_drawer/side_drawer.vue b/src/components/side_drawer/side_drawer.vue index 608b5608..91b10ea0 100644 --- a/src/components/side_drawer/side_drawer.vue +++ b/src/components/side_drawer/side_drawer.vue @@ -76,6 +76,21 @@ /> {{ $t("nav.lists") }} +
  • + + {{ $t("nav.bookmarks") }} + +