mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-07 08:27:03 +03:00
Bugfix undefined matched domain should say email@example matched domain
This commit is contained in:
parent
31e2962f9a
commit
6b6aa54b99
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export class AdminSettingsDomains /*extends AbstractViewSettings*/ {
|
||||||
Remote.request('AdminDomainMatch',
|
Remote.request('AdminDomainMatch',
|
||||||
(iError, oData) => {
|
(iError, oData) => {
|
||||||
if (oData?.Result?.domain) {
|
if (oData?.Result?.domain) {
|
||||||
alert(`${oData.Result.domain.email} matched domain: ${oData.Result.domain.name}`);
|
alert(`${oData.Result.email} matched domain: ${oData.Result.domain.name}`);
|
||||||
} else {
|
} else {
|
||||||
alert('No domain match');
|
alert('No domain match');
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue