Sort streams by added date

This commit is contained in:
Max Goodhart
2026-01-24 15:19:38 -08:00
parent 8fd9ca1c1d
commit 66c0c0406b
2 changed files with 2 additions and 1 deletions

View File

@@ -224,7 +224,7 @@ export function useStreamwallState(state: StreamwallState | undefined) {
}
}
const streams = sortBy(stateStreams, ['_id'])
const streams = sortBy(stateStreams, ['addedDate', '_id'])
const customStreams = stateStreams.filter((s) => s._dataSource === 'custom')
return {

View File

@@ -35,6 +35,7 @@ export interface StreamDataContent extends ContentDisplayOptions {
city?: string
state?: string
orientation?: 'V' | 'H'
addedDate?: string
_id?: string
_dataSource?: string
}