TSK-1391: New workbasket is selected after creation
This commit is contained in:
parent
8b3013d602
commit
972c09761c
|
@ -121,7 +121,7 @@ export class WorkbasketState implements NgxsAfterBootstrap {
|
||||||
new Map<string, string>([['workbasketKey', workbasketUpdated.key]])
|
new Map<string, string>([['workbasketKey', workbasketUpdated.key]])
|
||||||
);
|
);
|
||||||
|
|
||||||
this.selectWorkbasket(ctx, workbasketUpdated.workbasketId);
|
ctx.dispatch(new SelectWorkbasket(workbasketUpdated.workbasketId));
|
||||||
this.location.go(this.location.path().replace(/(workbaskets).*/g, 'workbaskets'));
|
this.location.go(this.location.path().replace(/(workbaskets).*/g, 'workbaskets'));
|
||||||
},
|
},
|
||||||
(error) => {
|
(error) => {
|
||||||
|
|
Loading…
Reference in New Issue