Commit b69219d2 authored by Phil Renaud's avatar Phil Renaud
Browse files

Lintfixes

parent 2a8c8c2b
Showing with 2 additions and 2 deletions
+2 -2
...@@ -38,7 +38,7 @@ export default class AllocationServiceSidebarComponent extends Component { ...@@ -38,7 +38,7 @@ export default class AllocationServiceSidebarComponent extends Component {
} }
get checks() { get checks() {
if (!this.args.service || !this.args.allocation) return; if (!this.args.service || !this.args.allocation) return null;
let allocID = this.args.allocation.id; let allocID = this.args.allocation.id;
// Our UI checks run every 2 seconds; but a check itself may only update every, say, minute. // Our UI checks run every 2 seconds; but a check itself may only update every, say, minute.
// Therefore, we'll have duplicate checks in a service's healthChecks array. // Therefore, we'll have duplicate checks in a service's healthChecks array.
......
...@@ -71,7 +71,7 @@ export default class IndexController extends Controller.extend(Sortable) { ...@@ -71,7 +71,7 @@ export default class IndexController extends Controller.extend(Sortable) {
@union('taskServices', 'groupServices') services; @union('taskServices', 'groupServices') services;
@computed('model.healthChecks.{}', 'services') @computed('model.{healthChecks,id}', 'services')
get servicesWithHealthChecks() { get servicesWithHealthChecks() {
return this.services.map((service) => { return this.services.map((service) => {
if (this.model.healthChecks) { if (this.model.healthChecks) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment