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 /src/store | |
parent | a9b11dc972cabf81c5a4da0884f6a582fca5ddfb (diff) | |
download | webui-vue-f1c2c5f0d9bc5e800b402f9ca3f6d344a2f5b299.tar.xz |
fix toasts close icon
Diffstat (limited to 'src/store')
-rw-r--r-- | src/store/modules/Settings/SmtpStore.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } }) |