From 34f160cff62990d2b138a7a8813c66acaed48e04 Mon Sep 17 00:00:00 2001 From: pprinzSVA Date: Fri, 24 Oct 2025 11:45:35 +0200 Subject: [PATCH] fix: adapt actually finish for content only sccenarios --- src/app/scenario/step.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/scenario/step.component.ts b/src/app/scenario/step.component.ts index b7eacef9..1e0aee80 100644 --- a/src/app/scenario/step.component.ts +++ b/src/app/scenario/step.component.ts @@ -410,7 +410,7 @@ export class StepComponent implements OnInit, AfterViewInit, OnDestroy { } actuallyFinish(force = false) { - if (this.shouldKeepVmOnFinish && !force && !this.isContentOnly) { + if (this.shouldKeepVmOnFinish && !force) { this.navigateBack(); } else { this.ssService.finish(this.session.id).subscribe(() => { @@ -426,7 +426,7 @@ export class StepComponent implements OnInit, AfterViewInit, OnDestroy { goClose() { if (this.isContentOnly) { this.closeOpen = false; - this.actuallyFinish(true); + this.actuallyFinish(); return; } this.closeOpen = true;