From 9611c977b214e007ba409a01e2d53403c79a47be Mon Sep 17 00:00:00 2001 From: Swikriti Tripathi <41103328+SwikritiT@users.noreply.github.com> Date: Thu, 10 Aug 2023 11:25:04 +0545 Subject: [PATCH] [OP#49182] Fix the form heading index colour in different themes (#453) * Fix the colour of the indexes in different themes Signed-off-by: Swikriti Tripathi * update snapshots Signed-off-by: Swikriti Tripathi * fix style lint Signed-off-by: Swikriti Tripathi --------- Signed-off-by: Swikriti Tripathi --- src/components/AdminSettings.vue | 21 ++++++++++++------- src/components/admin/FormHeading.vue | 18 ++++++++++------ .../__snapshots__/AdminSettings.spec.js.snap | 2 +- .../__snapshots__/FormHeading.spec.js.snap | 4 ++-- 4 files changed, 28 insertions(+), 17 deletions(-) diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue index 666a3e0f4..d41abd7e2 100644 --- a/src/components/AdminSettings.vue +++ b/src/components/AdminSettings.vue @@ -4,7 +4,9 @@
+ :is-complete="isServerHostFormComplete" + :is-dark-theme="isDarkTheme" /> + + :is-disabled="isOPOAuthFormInDisableMode" + :is-dark-theme="isDarkTheme" />
+ :is-disabled="isNcOAuthFormInDisableMode" + :is-dark-theme="isDarkTheme" />
+ :is-disabled="isOPUserAppPasswordInDisableMode" + :is-dark-theme="isDarkTheme" />
-
+
{{ index }}
-
+
2
diff --git a/tests/jest/components/admin/__snapshots__/FormHeading.spec.js.snap b/tests/jest/components/admin/__snapshots__/FormHeading.spec.js.snap index d49944d77..0ef68f125 100644 --- a/tests/jest/components/admin/__snapshots__/FormHeading.spec.js.snap +++ b/tests/jest/components/admin/__snapshots__/FormHeading.spec.js.snap @@ -2,7 +2,7 @@ exports[`FormHeading.vue is complete prop should hide the checkmark icon and show the index if not complete 1`] = `
-
+
1
@@ -22,7 +22,7 @@ exports[`FormHeading.vue is complete prop should show checkmark icon, add green exports[`FormHeading.vue is disabled prop should add disabled class to the form heading 1`] = `
-
+
1