From 638bfcc35b44afc26b812ddf7685b8d7dad02658 Mon Sep 17 00:00:00 2001 From: Marcus Goectau Date: Wed, 20 Sep 2023 13:57:18 -0700 Subject: [PATCH] Loading spinner should show until all protected features have loaded --- .../dialogs/enable-protected/enable-protected.component.html | 2 +- .../app/dialogs/enable-protected/enable-protected.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CSETWebNg/src/app/dialogs/enable-protected/enable-protected.component.html b/CSETWebNg/src/app/dialogs/enable-protected/enable-protected.component.html index 0719705522..2bbb868ead 100644 --- a/CSETWebNg/src/app/dialogs/enable-protected/enable-protected.component.html +++ b/CSETWebNg/src/app/dialogs/enable-protected/enable-protected.component.html @@ -38,7 +38,7 @@ -
+
diff --git a/CSETWebNg/src/app/dialogs/enable-protected/enable-protected.component.ts b/CSETWebNg/src/app/dialogs/enable-protected/enable-protected.component.ts index 233fc094e0..19cc7439fa 100644 --- a/CSETWebNg/src/app/dialogs/enable-protected/enable-protected.component.ts +++ b/CSETWebNg/src/app/dialogs/enable-protected/enable-protected.component.ts @@ -39,6 +39,7 @@ export class EnableProtectedComponent implements OnInit { message: any; enableFeatureButtonClick: boolean = false; cisaWorkflowEnabled: boolean = false; + cisaWorkflowStatusLoaded: boolean = false; constructor(private dialog: MatDialogRef, private featureSvc: EnableFeatureService, @@ -54,6 +55,7 @@ export class EnableProtectedComponent implements OnInit { this.configSvc.getCisaAssessorWorkflow().subscribe((cisaWorkflowEnabled: boolean) => { this.cisaWorkflowEnabled = cisaWorkflowEnabled; + this.cisaWorkflowStatusLoaded = true; }); }