feat: refactoring
Publish Metadata Agent Image / build-and-push-image (push) Successful in 4m2s
Publish Web Player Image / build-and-push-image (push) Successful in 4m47s

This commit is contained in:
Boris Cherepanov
2026-04-04 19:17:33 +03:00
parent 3199c12af5
commit 0b6f518b72
3 changed files with 37 additions and 49 deletions
@@ -239,6 +239,7 @@ export function selectQueueItems(state: QueueSliceRoot) {
return state.queue.items
}
// TODO: toggle shuffle should rebuild the shuffle order
export function selectQueueOrder(state: QueueSliceRoot): number[] {
const q = state.queue
if (!q.shuffle) return q.items.map((_, i) => i)