99053: Invalidate cache by default when performing the WorkflowItemActionPageComponent action

This commit is contained in:
Alexandre Vryghem
2023-02-06 18:20:39 +01:00
parent 581afbbbb6
commit 34e970827e
10 changed files with 43 additions and 12 deletions

View File

@@ -23,7 +23,7 @@ export class WorkflowItemSendBackComponent extends WorkflowItemActionPageCompone
protected notificationsService: NotificationsService,
protected translationService: TranslateService,
protected requestService: RequestService) {
super(route, workflowItemService, router, routeService, notificationsService, translationService);
super(route, workflowItemService, router, routeService, notificationsService, translationService, requestService);
}
/**
@@ -38,7 +38,6 @@ export class WorkflowItemSendBackComponent extends WorkflowItemActionPageCompone
* @param id The id of the WorkflowItem
*/
sendRequest(id: string): Observable<boolean> {
this.requestService.removeByHrefSubstring('/discover');
return this.workflowItemService.sendBack(id);
}
}