Skip to content
Snippets Groups Projects
Commit a1697235 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #13993 TIME 2:20 fix entity not selected in redirect action

parent cc2cc19b
No related branches found
No related tags found
No related merge requests found
...@@ -168,14 +168,14 @@ export class RedirectActionComponent implements OnInit { ...@@ -168,14 +168,14 @@ export class RedirectActionComponent implements OnInit {
}) })
// create the instance // create the instance
.jstree(); .jstree();
}, 0);
if (this.currentEntity.serialId > 0) { if (this.currentEntity.serialId > 0) {
setTimeout(() => { setTimeout(() => {
$('#jstree').jstree('select_node', this.currentEntity); $('#jstree').jstree('select_node', this.currentEntity);
this.selectEntity(this.currentEntity, true); this.selectEntity(this.currentEntity, true);
}, 200); }, 200);
} }
}, 0);
} }
loadDestUser() { loadDestUser() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment