diff --git a/ui/app/controllers/allocations/allocation/index.js b/ui/app/controllers/allocations/allocation/index.js index 484d00091..c5900994e 100644 --- a/ui/app/controllers/allocations/allocation/index.js +++ b/ui/app/controllers/allocations/allocation/index.js @@ -163,6 +163,9 @@ export default class IndexController extends Controller.extend(Sortable) { @action taskClick(allocation, task, event) { + if (!(event instanceof Event)) { + event = null; + } lazyClick([() => this.send('gotoTask', allocation, task), event]); }