This commit is contained in:
Prayag Prajapati committed 2023-12-02 17:25:06 +05:30
1 parent 8842cc994c
commit dd03a2dbe9
5 files changed
+17 -27

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@
<link rel="icon" type="image/svg+xml" href="/icon.svg" /> <link rel="icon" type="image/svg+xml" href="/icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Jellyplayer</title> <title>Jellyplayer</title>
<script src="http://localhost:8097"></script>
<style> <style>
.app-loading { .app-loading {
position: fixed; position: fixed;
+3 -3
View File
@@ -721,7 +721,7 @@ const Hero = ({
{writers.map((writer, index) => ( {writers.map((writer, index) => (
<> <>
<TextLink <TextLink
key={index} key={writer.Id}
variant={"subtitle1"} variant={"subtitle1"}
location={`/person/${writer.Id}`} location={`/person/${writer.Id}`}
> >
@@ -763,7 +763,7 @@ const Hero = ({
{directors.map((director, index) => ( {directors.map((director, index) => (
<> <>
<TextLink <TextLink
key={index} key={director.Id}
variant={"subtitle1"} variant={"subtitle1"}
location={`/person/${director.Id}`} location={`/person/${director.Id}`}
> >
@@ -805,7 +805,7 @@ const Hero = ({
{artists.map((artist, index) => ( {artists.map((artist, index) => (
<> <>
<TextLink <TextLink
key={index} key={artist.Id}
variant={"subtitle1"} variant={"subtitle1"}
location={`/artist/${artist.Id}`} location={`/artist/${artist.Id}`}
> >
@@ -29,10 +29,10 @@ const GenreView = ({ libraryId, genreId, genreName, userId }) => {
displayCards={8} displayCards={8}
disableDecoration disableDecoration
> >
{items.data.Items.map((item, index) => { {items.data.Items.map((item) => {
return ( return (
<Card <Card
key={index} key={item.Id}
item={item} item={item}
seriesId={item.SeriesId} seriesId={item.SeriesId}
cardTitle={ cardTitle={
+3 -5
View File
@@ -138,15 +138,14 @@ export const SideMenu = () => {
Home Home
</Typography> </Typography>
</NavLink> </NavLink>
{libraries.data.Items.map( {libraries.data.Items.map((lib) => {
(lib, index) => {
return ( return (
<Tooltip <Tooltip
title={lib.Name} title={lib.Name}
placement="right" placement="right"
arrow arrow
followCursor followCursor
key={index} key={lib.Id}
> >
<NavLink <NavLink
to={`/library/${lib.Id}`} to={`/library/${lib.Id}`}
@@ -175,8 +174,7 @@ export const SideMenu = () => {
</NavLink> </NavLink>
</Tooltip> </Tooltip>
); );
}, })}
)}
</> </>
)} )}
</div> </div>
+8 -16
View File
@@ -442,18 +442,14 @@ const LibraryView = () => {
onChange={handleSortBy} onChange={handleSortBy}
size="small" size="small"
> >
{sortByData.map( {sortByData.map((option) => (
(option, index) => (
<MenuItem <MenuItem
key={index} key={option.value}
value={ value={option.value}
option.value
}
> >
{option.title} {option.title}
</MenuItem> </MenuItem>
), ))}
)}
</TextField> </TextField>
</> </>
)} )}
@@ -475,18 +471,14 @@ const LibraryView = () => {
}} }}
size="small" size="small"
> >
{viewType.map( {viewType.map((option) => (
(option, index) => (
<MenuItem <MenuItem
key={index} key={option.value}
value={ value={option.value}
option.value
}
> >
{option.title} {option.title}
</MenuItem> </MenuItem>
), ))}
)}
</TextField> </TextField>
</> </>
)} )}