mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-22 05:55:12 +00:00
upd: lock following-feed behind loginRequired and check if user has moved instances
This commit is contained in:
parent
1520bc1715
commit
9daecc27a5
2 changed files with 3 additions and 1 deletions
|
@ -71,6 +71,7 @@ export const navbarItemDef = reactive({
|
||||||
following: {
|
following: {
|
||||||
title: i18n.ts.following,
|
title: i18n.ts.following,
|
||||||
icon: 'ph-user-check ph-bold ph-lg',
|
icon: 'ph-user-check ph-bold ph-lg',
|
||||||
|
show: computed(() => $i != null && !$i.movedTo),
|
||||||
to: '/following-feed',
|
to: '/following-feed',
|
||||||
},
|
},
|
||||||
lists: {
|
lists: {
|
||||||
|
|
|
@ -229,10 +229,11 @@ const routes: RouteDef[] = [{
|
||||||
}, {
|
}, {
|
||||||
path: '/following-feed',
|
path: '/following-feed',
|
||||||
component: page(() => import('@/pages/following-feed.vue')),
|
component: page(() => import('@/pages/following-feed.vue')),
|
||||||
hash: 'initialTab',
|
loginRequired: true,
|
||||||
}, {
|
}, {
|
||||||
path: '/following-feed/:userId',
|
path: '/following-feed/:userId',
|
||||||
component: page(() => import('@/pages/user/recent-notes.vue')),
|
component: page(() => import('@/pages/user/recent-notes.vue')),
|
||||||
|
loginRequired: true,
|
||||||
}, {
|
}, {
|
||||||
path: '/search',
|
path: '/search',
|
||||||
component: page(() => import('@/pages/search.vue')),
|
component: page(() => import('@/pages/search.vue')),
|
||||||
|
|
Loading…
Reference in a new issue