Fix smart playlist sort order on creation (#163)

This commit is contained in:
jeffvli 2023-07-16 23:59:51 -07:00
parent 0c54b79c09
commit 8233a56def

View File

@ -57,7 +57,9 @@ export const CreatePlaylistForm = ({ onCancel }: CreatePlaylistFormProps) => {
isSmartPlaylist && smartPlaylist?.filters
? {
...convertQueryGroupToNDQuery(smartPlaylist.filters),
...smartPlaylist.extraFilters,
limit: smartPlaylist.extraFilters.limit,
order: smartPlaylist.extraFilters.sortOrder,
sort: smartPlaylist.extraFilters.sortBy,
}
: undefined,
},