diff options
author | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-10-17 17:57:00 +0300 |
---|---|---|
committer | Maksim Zakharov <m.zakharov@IBS.RU> | 2022-10-17 17:57:00 +0300 |
commit | f1c2c5f0d9bc5e800b402f9ca3f6d344a2f5b299 (patch) | |
tree | 75c59d4fc963add9c90e9fe877e8c8bc8f492fa4 | |
parent | a9b11dc972cabf81c5a4da0884f6a582fca5ddfb (diff) | |
download | webui-vue-f1c2c5f0d9bc5e800b402f9ca3f6d344a2f5b299.tar.xz |
fix toasts close icon
-rw-r--r-- | src/assets/styles/bmc/_sila/_toasts.scss | 5 | ||||
-rw-r--r-- | src/store/modules/Settings/SmtpStore.js | 2 |
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; } }) |