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} ]
|
$scope.shows = [ { id: '?', pending: true} ]
|
||||||
$timeout();
|
$timeout();
|
||||||
let shows = await dizquetv.getAllShowsInfo();
|
let shows = await dizquetv.getAllShowsInfo();
|
||||||
|
shows.sort( (a,b) => {
|
||||||
|
return a.name > b.name;
|
||||||
|
} );
|
||||||
|
|
||||||
$scope.shows = shows;
|
$scope.shows = shows;
|
||||||
$timeout();
|
$timeout();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -8,13 +8,14 @@ module.exports = function ($scope, $timeout, dizquetv) {
|
|||||||
$scope.fillers = [ { id: '?', pending: true} ]
|
$scope.fillers = [ { id: '?', pending: true} ]
|
||||||
$timeout();
|
$timeout();
|
||||||
let fillers = await dizquetv.getAllFillersInfo();
|
let fillers = await dizquetv.getAllFillersInfo();
|
||||||
|
fillers.sort( (a,b) => {
|
||||||
|
return a.name > b.name;
|
||||||
|
} );
|
||||||
$scope.fillers = fillers;
|
$scope.fillers = fillers;
|
||||||
$timeout();
|
$timeout();
|
||||||
}
|
}
|
||||||
$scope.refreshFiller();
|
$scope.refreshFiller();
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
let feedToFillerConfig = () => {};
|
let feedToFillerConfig = () => {};
|
||||||
let feedToDeleteFiller = feedToFillerConfig;
|
let feedToDeleteFiller = feedToFillerConfig;
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user