diff --git a/ui/app/controllers/allocations/allocation/index.js b/ui/app/controllers/allocations/allocation/index.js index ea0717c09..7df114346 100644 --- a/ui/app/controllers/allocations/allocation/index.js +++ b/ui/app/controllers/allocations/allocation/index.js @@ -55,7 +55,7 @@ export default class IndexController extends Controller.extend(Sortable) { @computed('tasks.@each.services') get taskServices() { return this.get('tasks') - .map((t) => (t && t.get('services') || []).toArray()) + .map((t) => ((t && t.get('services')) || []).toArray()) .flat() .compact(); } diff --git a/ui/tests/acceptance/regions-test.js b/ui/tests/acceptance/regions-test.js index 819fd8663..d81af2c08 100644 --- a/ui/tests/acceptance/regions-test.js +++ b/ui/tests/acceptance/regions-test.js @@ -155,7 +155,6 @@ module('Acceptance | regions (many)', function (hooks) { const newRegion = server.db.regions[1].id; await Allocation.visit({ id: server.db.allocations[0].id }); - await this.pauseTest(); await selectChoose('[data-test-region-switcher-parent]', newRegion);