mirror of
				https://github.com/zoriya/Kyoo.git
				synced 2025-11-04 03:27:14 -05:00 
			
		
		
		
	Remove - suffix in accounts list on web
This commit is contained in:
		
							parent
							
								
									a6eb744cc9
								
							
						
					
					
						commit
						5d26dd1945
					
				@ -108,10 +108,10 @@ export const NavbarProfile = () => {
 | 
				
			|||||||
			{...css({ marginLeft: ts(1), justifyContent: "center" })}
 | 
								{...css({ marginLeft: ts(1), justifyContent: "center" })}
 | 
				
			||||||
			{...tooltip(account?.username ?? t("navbar.login"))}
 | 
								{...tooltip(account?.username ?? t("navbar.login"))}
 | 
				
			||||||
		>
 | 
							>
 | 
				
			||||||
			{accounts?.map((x, i) => (
 | 
								{accounts?.map((x) => (
 | 
				
			||||||
				<Menu.Item
 | 
									<Menu.Item
 | 
				
			||||||
					key={x.id}
 | 
										key={x.id}
 | 
				
			||||||
					label={`${x.username} - ${getDisplayUrl(x.apiUrl)}`}
 | 
										label={Platform.OS === "web" ? x.username : `${x.username} - ${getDisplayUrl(x.apiUrl)}`}
 | 
				
			||||||
					left={<Avatar placeholder={x.username} />}
 | 
										left={<Avatar placeholder={x.username} />}
 | 
				
			||||||
					selected={x.selected}
 | 
										selected={x.selected}
 | 
				
			||||||
					onSelect={() => x.select()}
 | 
										onSelect={() => x.select()}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user