mirror of
https://github.com/navidrome/navidrome.git
synced 2026-11-20 03:02:34 +03:00
Fix console error "Cannot convert undefined or null to object PlaylistsSubMenu"
This commit is contained in:
1 parent
63b5191ea7
commit
fbd87ba577
1 file changed
+1
-1
@@ -78,7 +78,7 @@ const PlaylistsSubMenu = ({ state, setState, sidebarIsOpen, dense }) => {
|
||||
const myPlaylists = []
|
||||
const sharedPlaylists = []
|
||||
|
||||
if (loaded) {
|
||||
if (loaded && data) {
|
||||
const allPlaylists = Object.keys(data).map((id) => data[id])
|
||||
|
||||
allPlaylists.forEach((pls) => {
|
||||
|
||||
Reference in new issue
Block a user