We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5009494 commit 7e94e96Copy full SHA for 7e94e96
src/main/utils/migrate.ts
@@ -31,7 +31,8 @@ interface OldUserListInfo {
31
const filterMusicList = <T extends LX.Music.MusicInfo>(list: T[]): T[] => {
32
const ids: Set<string> = new Set()
33
return list.filter(s => {
34
- if (!s.id || ids.has(s.id) || !s.name || s.singer == null) return false
+ if (!s.id || ids.has(s.id) || !s.name) return false
35
+ if (s.singer == null) s.singer = ''
36
ids.add(s.id)
37
return true
38
})
0 commit comments