Skip to content
Snippets Groups Projects
Commit df9710e1 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #12073 TIME 0:10 fix default tab

parent 2109efa0
No related branches found
No related tags found
No related merge requests found
......@@ -199,7 +199,9 @@ export class ProcessComponent implements OnInit {
this.http.get(`../../rest/resources/${this.currentResourceInformations.resId}/users/${this.currentUserId}/groups/${this.currentGroupId}/baskets/${this.currentBasketId}/processingData`).pipe(
tap((data: any) => {
if (data.listEventData !== null) {
this.currentTool = data.listEventData.defaultTab;
if (this.isToolEnabled(data.listEventData.defaultTab)) {
this.currentTool = data.listEventData.defaultTab;
}
this.canEditData = data.listEventData.canUpdate;
}
}),
......
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