2022-10-11 09:24:10 +00:00
|
|
|
import Component from '@glimmer/component';
|
|
|
|
|
|
|
|
export default class ConsulServiceSearchBar extends Component {
|
|
|
|
get healthStates() {
|
|
|
|
if (this.args.peer) {
|
2022-10-11 11:13:43 +00:00
|
|
|
return ['passing', 'warning', 'critical', 'unknown', 'empty'];
|
|
|
|
} else {
|
|
|
|
return ['passing', 'warning', 'critical', 'empty'];
|
2022-10-11 09:24:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|