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

FIX #14785 TIME 2:00 fix action stopped when not saving modifications

parent 99b22314
No related branches found
No related tags found
No related merge requests found
......@@ -568,9 +568,10 @@ export class ProcessComponent implements OnInit, OnDestroy {
this.actionService.loading = false;
}
}),
filter((data: string) => data === 'ok'),
tap(async () => {
await this.saveTool();
tap(async (data: string) => {
if (data === 'ok') {
await this.saveTool();
}
if (this.appDocumentViewer.isEditingTemplate()) {
await this.appDocumentViewer.saveMainDocument();
}
......
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