mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +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: {
 | 
			
		||||
		title: i18n.ts.following,
 | 
			
		||||
		icon: 'ph-user-check ph-bold ph-lg',
 | 
			
		||||
		show: computed(() => $i != null && !$i.movedTo),
 | 
			
		||||
		to: '/following-feed',
 | 
			
		||||
	},
 | 
			
		||||
	lists: {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -229,10 +229,11 @@ const routes: RouteDef[] = [{
 | 
			
		|||
}, {
 | 
			
		||||
	path: '/following-feed',
 | 
			
		||||
	component: page(() => import('@/pages/following-feed.vue')),
 | 
			
		||||
	hash: 'initialTab',
 | 
			
		||||
	loginRequired: true,
 | 
			
		||||
}, {
 | 
			
		||||
	path: '/following-feed/:userId',
 | 
			
		||||
	component: page(() => import('@/pages/user/recent-notes.vue')),
 | 
			
		||||
	loginRequired: true,
 | 
			
		||||
}, {
 | 
			
		||||
	path: '/search',
 | 
			
		||||
	component: page(() => import('@/pages/search.vue')),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue