Add stopped state

This commit is contained in:
Girish Ramakrishnan
2020-10-06 13:01:01 -07:00
parent 4274b8f459
commit b14828e8e1
2 changed files with 4 additions and 2 deletions

View File

@@ -186,8 +186,9 @@ app.filter('selectedStateFilter', function () {
if (!selectedState || !selectedState.state) return true;
if (selectedState.state === 'running') return app.runState === 'running' && app.health === 'healthy' && app.installationState === 'installed';
if (selectedState.state === 'stopped') return app.runState === 'stopped';
return app.runState !== 'running' || app.health !== 'healthy' || app.installationState !== 'installed';
return app.runState === 'running' && (app.health !== 'healthy' || app.installationState !== 'installed'); // not responding
});
};
});