mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-31 04:59:21 +03:00
?admin use JavaScript Optional chaining
This commit is contained in:
parent
17fa031064
commit
1a130d0be3
4 changed files with 9 additions and 9 deletions
|
|
@ -85,7 +85,7 @@ export class AdminSettingsContacts extends AbstractViewSettings {
|
|||
this.testContactsSuccess(true);
|
||||
} else {
|
||||
this.testContactsError(true);
|
||||
if (data && data.Result) {
|
||||
if (data?.Result) {
|
||||
this.testContactsErrorMessage(data.Result.Message || '');
|
||||
} else {
|
||||
this.testContactsErrorMessage('');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue