From 6d5f47195e96f63d78f0bdbd2932598fb9eb0d0e Mon Sep 17 00:00:00 2001 From: esurface Date: Tue, 22 Oct 2024 16:34:08 -0400 Subject: [PATCH] Force save of response edit --- .../groups/group-uploads-edit/group-uploads-edit.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/editor/src/app/groups/group-uploads-edit/group-uploads-edit.component.ts b/editor/src/app/groups/group-uploads-edit/group-uploads-edit.component.ts index a4e4e6232..483f128c2 100644 --- a/editor/src/app/groups/group-uploads-edit/group-uploads-edit.component.ts +++ b/editor/src/app/groups/group-uploads-edit/group-uploads-edit.component.ts @@ -79,8 +79,7 @@ export class GroupUploadsEditComponent implements OnInit { this.restoreSP1DocumentVariables(response) } - await this.formPlayer.saveResponse(response) - this.router.navigate([`../`], { relativeTo: this.route }) + await this.formPlayer.saveResponse(response, true) } async getSP1DocumentVariables() {