Complete #179
This commit is contained in:
4 files changed
+43
-28
No files matched your search
@@ -187,13 +187,17 @@ export const AppBar = () => {
|
||||
>
|
||||
<MenuItem
|
||||
onClick={() => navigate("/settings")}
|
||||
disabled
|
||||
>
|
||||
<ListItemIcon>
|
||||
<MdiCog />
|
||||
</ListItemIcon>
|
||||
Settings
|
||||
</MenuItem>
|
||||
<MenuItem onClick={() => navigate("/about")}>
|
||||
<MenuItem
|
||||
onClick={() => navigate("/about")}
|
||||
disabled
|
||||
>
|
||||
<ListItemIcon>
|
||||
<MdiInformation />
|
||||
</ListItemIcon>
|
||||
|
||||
@@ -168,34 +168,42 @@ export const SideMenu = ({}) => {
|
||||
{libraries.data.Items.map(
|
||||
(lib, index) => {
|
||||
return (
|
||||
<NavLink
|
||||
to={`/library/${lib.Id}`}
|
||||
className="sidemenu-item"
|
||||
<Tooltip
|
||||
title={lib.Name}
|
||||
placement="right"
|
||||
arrow
|
||||
followCursor
|
||||
key={index}
|
||||
>
|
||||
<div className="sidemenu-item-icon">
|
||||
{
|
||||
MediaCollectionTypeIconCollection[
|
||||
lib
|
||||
.CollectionType
|
||||
]
|
||||
}
|
||||
</div>
|
||||
<Typography
|
||||
className="sidemenu-item-text"
|
||||
variant="caption"
|
||||
fontWeight={
|
||||
500
|
||||
}
|
||||
style={{
|
||||
width: "80%",
|
||||
}}
|
||||
overflow="hidden"
|
||||
textOverflow="ellipsis"
|
||||
textAlign="center"
|
||||
<NavLink
|
||||
to={`/library/${lib.Id}`}
|
||||
className="sidemenu-item"
|
||||
>
|
||||
{lib.Name}
|
||||
</Typography>
|
||||
</NavLink>
|
||||
<div className="sidemenu-item-icon">
|
||||
{
|
||||
MediaCollectionTypeIconCollection[
|
||||
lib
|
||||
.CollectionType
|
||||
]
|
||||
}
|
||||
</div>
|
||||
<Typography
|
||||
className="sidemenu-item-text"
|
||||
variant="caption"
|
||||
fontWeight={
|
||||
500
|
||||
}
|
||||
style={{
|
||||
width: "80%",
|
||||
}}
|
||||
overflow="hidden"
|
||||
textOverflow="ellipsis"
|
||||
textAlign="center"
|
||||
>
|
||||
{lib.Name}
|
||||
</Typography>
|
||||
</NavLink>
|
||||
</Tooltip>
|
||||
);
|
||||
},
|
||||
)}
|
||||
@@ -270,6 +278,8 @@ export const SideMenu = ({}) => {
|
||||
justifyContent:
|
||||
"center",
|
||||
px: 2.5,
|
||||
flexDirection:
|
||||
"row",
|
||||
}}
|
||||
>
|
||||
<ListItemIcon
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
&-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
position: relative;
|
||||
|
||||
@@ -396,7 +396,7 @@ const AudioPlayer = () => {
|
||||
})}
|
||||
</Paper>
|
||||
</Popper>
|
||||
<IconButton onClick={handleOpenQueue}>
|
||||
<IconButton onClick={handleOpenQueue} disabled>
|
||||
<MdiPlaylistMusicOutline />
|
||||
</IconButton>
|
||||
<IconButton
|
||||
|
||||
Reference in new issue
Block a user