Sort fillter and custom shows lists.
This commit is contained in:
parent
66804fe26c
commit
17094ea64d
@ -8,6 +8,10 @@ module.exports = function ($scope, $timeout, dizquetv) {
|
||||
$scope.shows = [ { id: '?', pending: true} ]
|
||||
$timeout();
|
||||
let shows = await dizquetv.getAllShowsInfo();
|
||||
shows.sort( (a,b) => {
|
||||
return a.name > b.name;
|
||||
} );
|
||||
|
||||
$scope.shows = shows;
|
||||
$timeout();
|
||||
}
|
||||
|
||||
@ -8,13 +8,14 @@ module.exports = function ($scope, $timeout, dizquetv) {
|
||||
$scope.fillers = [ { id: '?', pending: true} ]
|
||||
$timeout();
|
||||
let fillers = await dizquetv.getAllFillersInfo();
|
||||
fillers.sort( (a,b) => {
|
||||
return a.name > b.name;
|
||||
} );
|
||||
$scope.fillers = fillers;
|
||||
$timeout();
|
||||
}
|
||||
$scope.refreshFiller();
|
||||
|
||||
|
||||
|
||||
let feedToFillerConfig = () => {};
|
||||
let feedToDeleteFiller = feedToFillerConfig;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user