Add app state filter

This commit is contained in:
Johannes Zellner
2020-09-26 17:50:23 +02:00
parent 68573ceb18
commit 72118a0b66
3 changed files with 22 additions and 3 deletions

View File

@@ -8,6 +8,12 @@ angular.module('Application').controller('AppsController', ['$scope', '$timeout'
$scope.installedApps = Client.getInstalledApps();
$scope.tags = Client.getAppTags();
$scope.states = [
{ state: '', label: 'All States' },
{ state: 'running', label: 'Running' },
{ state: 'not_running', label: 'Not Running' }
];
$scope.selectedState = $scope.states[0];
$scope.selectedTags = [];
$scope.selectedDomain = ALL_DOMAINS_DOMAIN;
$scope.filterDomains = [ ALL_DOMAINS_DOMAIN ];