mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 01:15:43 +03:00
Checking for the type of event param before executing a lazy click (#22429)
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user