mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove .html from routes
This commit is contained in:
parent
ccc9f52aec
commit
d6353f27b8
44 changed files with 178 additions and 178 deletions
|
@ -30,7 +30,7 @@ const MainDrawerContent = () => {
|
|||
const userViews = userViewsData?.Items || [];
|
||||
const webConfig = useWebConfig();
|
||||
|
||||
const isHomeSelected = location.pathname === '/home.html' && (!location.search || location.search === '?tab=0');
|
||||
const isHomeSelected = location.pathname === '/home' && (!location.search || location.search === '?tab=0');
|
||||
|
||||
return (
|
||||
<>
|
||||
|
@ -40,7 +40,7 @@ const MainDrawerContent = () => {
|
|||
<DrawerHeaderLink />
|
||||
</ListItem>
|
||||
<ListItem disablePadding>
|
||||
<ListItemLink to='/home.html' selected={isHomeSelected}>
|
||||
<ListItemLink to='/home' selected={isHomeSelected}>
|
||||
<ListItemIcon>
|
||||
<Home />
|
||||
</ListItemIcon>
|
||||
|
@ -48,7 +48,7 @@ const MainDrawerContent = () => {
|
|||
</ListItemLink>
|
||||
</ListItem>
|
||||
<ListItem disablePadding>
|
||||
<ListItemLink to='/home.html?tab=1'>
|
||||
<ListItemLink to='/home?tab=1'>
|
||||
<ListItemIcon>
|
||||
<Favorite />
|
||||
</ListItemIcon>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue