mirror of
https://github.com/austinried/subtracks.git
synced 2026-02-10 15:02:42 +01:00
remove thumbnail cache
This commit is contained in:
@@ -23,7 +23,7 @@ import {
|
||||
SubsonicResponse,
|
||||
} from '@app/subsonic/responses'
|
||||
import PromiseQueue from '@app/util/PromiseQueue'
|
||||
import { reduceById, mergeById } from '@app/util/state'
|
||||
import { reduceById, mergeById, mapId } from '@app/util/state'
|
||||
import produce from 'immer'
|
||||
import { WritableDraft } from 'immer/dist/types/types-external'
|
||||
import pick from 'lodash.pick'
|
||||
@@ -547,7 +547,3 @@ function mapSong(song: ChildElement): Song {
|
||||
starred: song.starred,
|
||||
}
|
||||
}
|
||||
|
||||
function mapId(entities: { id: string }[]): string[] {
|
||||
return entities.map(e => e.id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user