Set albums isDir to false (for navidrome)

This commit is contained in:
jeffvli
2021-10-25 12:36:45 -07:00
parent 5d738c2ca4
commit f17441aa74

View File

@@ -268,6 +268,7 @@ export const getAlbums = async (
image: getCoverArtUrl(entry, coverArtSize),
starred: entry.starred || undefined,
type: 'album',
isDir: false,
index,
uniqueId: nanoid(),
})),
@@ -306,6 +307,7 @@ export const getAlbumsDirect = async (
image: getCoverArtUrl(entry, coverArtSize),
starred: entry.starred || undefined,
type: 'album',
isDir: false,
index,
uniqueId: nanoid(),
}));
@@ -361,6 +363,7 @@ export const getAllAlbums = (
image: getCoverArtUrl(entry, coverArtSize),
starred: entry.starred || undefined,
type: 'album',
isDir: false,
index,
uniqueId: nanoid(),
}));