summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/assets/styles/bmc/_sila/_toasts.scss5
-rw-r--r--src/store/modules/Settings/SmtpStore.js2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/assets/styles/bmc/_sila/_toasts.scss b/src/assets/styles/bmc/_sila/_toasts.scss
index 6fefccc5..b60958da 100644
--- a/src/assets/styles/bmc/_sila/_toasts.scss
+++ b/src/assets/styles/bmc/_sila/_toasts.scss
@@ -11,6 +11,11 @@
.close {
font-weight: 300;
opacity: 1;
+ @include themify($themes) {
+ color: themed('text-primary');
+ text-shadow: themed('surface-primary') !important;
+ text-shadow: none;
+ }
}
}
diff --git a/src/store/modules/Settings/SmtpStore.js b/src/store/modules/Settings/SmtpStore.js
index 4312ecd9..a0240462 100644
--- a/src/store/modules/Settings/SmtpStore.js
+++ b/src/store/modules/Settings/SmtpStore.js
@@ -90,7 +90,7 @@ const SmtpStore = {
return await api
.post('/redfish/v1/Smtp/SendMail', payload)
.then((res) => {
- if (res.data.result === false) {
+ if (res?.data?.result === false) {
return res.data;
}
})