From bb0c947e9872379c2764612d3b196086c34fa80f Mon Sep 17 00:00:00 2001 From: Khaled Smaoui Date: Mon, 23 Sep 2024 16:13:50 -0700 Subject: [PATCH 1/2] Added a parameter to disable the alert banner from showing when page hasn't loaded --- .../sdcCollection/sdcSchoolCollection/StepSevenSubmitData.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/sdcCollection/sdcSchoolCollection/StepSevenSubmitData.vue b/frontend/src/components/sdcCollection/sdcSchoolCollection/StepSevenSubmitData.vue index 9ac974f50..2d0f28cb5 100644 --- a/frontend/src/components/sdcCollection/sdcSchoolCollection/StepSevenSubmitData.vue +++ b/frontend/src/components/sdcCollection/sdcSchoolCollection/StepSevenSubmitData.vue @@ -67,7 +67,7 @@ /> { this.isSubmitted = this.submittedStatuses.includes(this.schoolCollection.sdcSchoolCollectionStatusCode); this.isLoading = !this.isLoading; + this.hasLoaded = true; }); }, created() { From 915be8f4b096f33472865f926c5e32bf20edb6bd Mon Sep 17 00:00:00 2001 From: Khaled Smaoui Date: Mon, 23 Sep 2024 16:52:55 -0700 Subject: [PATCH 2/2] Use existing boolean instead --- .../sdcSchoolCollection/StepSevenSubmitData.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/sdcCollection/sdcSchoolCollection/StepSevenSubmitData.vue b/frontend/src/components/sdcCollection/sdcSchoolCollection/StepSevenSubmitData.vue index 2d0f28cb5..cd03d4174 100644 --- a/frontend/src/components/sdcCollection/sdcSchoolCollection/StepSevenSubmitData.vue +++ b/frontend/src/components/sdcCollection/sdcSchoolCollection/StepSevenSubmitData.vue @@ -67,7 +67,7 @@ /> { this.isSubmitted = this.submittedStatuses.includes(this.schoolCollection.sdcSchoolCollectionStatusCode); this.isLoading = !this.isLoading; - this.hasLoaded = true; + }); }, created() {