mirror of
https://github.com/chuot/rdio-scanner.git
synced 2026-08-13 08:33:00 -06:00
Ensure that systems are sorted by system number
This commit is contained in:
parent
7c2ee69151
commit
1fb4be6755
|
|
@ -428,7 +428,11 @@ export class AppRadioService implements OnDestroy {
|
|||
.subscribe());
|
||||
|
||||
this._subscriptions.systems.push(RadioSystems
|
||||
.find()
|
||||
.find({}, {
|
||||
sort: {
|
||||
system: 1,
|
||||
},
|
||||
})
|
||||
.pipe(debounceTime(100))
|
||||
.subscribe((systems: RadioSystem[]) => {
|
||||
this._systems.splice(0, this._systems.length, ...systems);
|
||||
|
|
|
|||
Loading…
Reference in a new issue