From 037a97b6ffa27b40891531ae6812ebe5b5e71e34 Mon Sep 17 00:00:00 2001 From: Mihajlo Medjedovic Date: Wed, 4 Jun 2025 17:37:44 +0200 Subject: [PATCH] fix: automatic viya deploy timing issue --- .../app/deploy/sections/automatic/automatic.component.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/client/src/app/deploy/sections/automatic/automatic.component.ts b/client/src/app/deploy/sections/automatic/automatic.component.ts index bf867fc..c520d17 100644 --- a/client/src/app/deploy/sections/automatic/automatic.component.ts +++ b/client/src/app/deploy/sections/automatic/automatic.component.ts @@ -95,9 +95,11 @@ export class AutomaticComponent implements OnInit { getCurrentUser, getComputeContexts ]).then(() => { - if (this.selectedComputeContext) { - this.onComputeContextChange(this.selectedComputeContext) - } + setTimeout(() => { + if (this.selectedComputeContext) { + this.onComputeContextChange(this.selectedComputeContext) + } + }, 500) }) }