kopia lustrzana https://github.com/nolanlawson/pinafore
				
				
				
			fix: pinning the bookmarks page (#1859)
Pinning the bookmarks page would accidentally pin the local timeline page due a forgotten `else if`. Fixes #1858fix-cache-bookmarks-page
							rodzic
							
								
									978afb8753
								
							
						
					
					
						commit
						60a146eb40
					
				|  | @ -42,6 +42,13 @@ export function navComputations (store) { | |||
|           svg: '#fa-star', | ||||
|           label: 'Favorites' | ||||
|         } | ||||
|       } else if (pinnedPage === '/bookmarks') { | ||||
|         pinnedPageObject = { | ||||
|           name: 'bookmarks', | ||||
|           href: '/bookmarks', | ||||
|           svg: '#fa-bookmark', | ||||
|           label: 'Bookmarks' | ||||
|         } | ||||
|       } else if (pinnedPage.startsWith('/lists/')) { | ||||
|         pinnedPageObject = { | ||||
|           name: `lists/${pinnedPage.split('/').slice(-1)[0]}`, | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 Emilia Michanek
						Emilia Michanek