mirror of
https://github.com/status-im/consul.git
synced 2025-01-22 11:40:06 +00:00
Match design order health states imported-services
This commit is contained in:
parent
9030c32164
commit
e55306e258
@ -2,12 +2,10 @@ import Component from '@glimmer/component';
|
||||
|
||||
export default class ConsulServiceSearchBar extends Component {
|
||||
get healthStates() {
|
||||
let states = ['passing', 'warning', 'critical', 'empty'];
|
||||
|
||||
if (this.args.peer) {
|
||||
states = [...states, 'unknown'];
|
||||
return ['passing', 'warning', 'critical', 'unknown', 'empty'];
|
||||
} else {
|
||||
return ['passing', 'warning', 'critical', 'empty'];
|
||||
}
|
||||
|
||||
return states;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user