fix bookmarks not showing on mobile properly

This commit is contained in:
Matrix-Sasuke 2024-11-14 17:23:05 +01:00
parent 4fcd511225
commit 27d2ac6f66
3 changed files with 18 additions and 2 deletions

View file

@ -1 +1 @@
Bookmarks on mobile were no longer showing Bookmarks visible again on mobile

View file

@ -32,7 +32,8 @@ export const TIMELINES = {
bookmarks: { bookmarks: {
route: 'bookmarks', route: 'bookmarks',
icon: 'bookmark', icon: 'bookmark',
label: 'nav.bookmarks' label: 'nav.bookmarks',
criteria: ['!supportsBookmarkFolders']
}, },
favorites: { favorites: {
routeObject: { name: 'user-profile', query: { tab: 'favorites' } }, routeObject: { name: 'user-profile', query: { tab: 'favorites' } },

View file

@ -76,6 +76,21 @@
/> {{ $t("nav.lists") }} /> {{ $t("nav.lists") }}
</router-link> </router-link>
</li> </li>
<li
v-if="currentUser"
@click="toggleDrawer"
>
<router-link
:to="{ name: 'bookmarks' }"
class="menu-item"
>
<FAIcon
fixed-width
class="fa-scale-110 fa-old-padding"
icon="bookmark"
/> {{ $t("nav.bookmarks") }}
</router-link>
</li>
<li <li
v-if="currentUser && pleromaChatMessagesAvailable" v-if="currentUser && pleromaChatMessagesAvailable"
@click="toggleDrawer" @click="toggleDrawer"