Add stopped state
This commit is contained in:
@@ -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
|
||||
});
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user