mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-30 20:49:20 +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
|
|
@ -68,7 +68,7 @@ export class AdminSettingsGeneral extends AbstractViewSettings {
|
|||
|
||||
this.uploadData = SettingsGet('PhpUploadSizes');
|
||||
this.uploadDataDesc =
|
||||
this.uploadData && (this.uploadData.upload_max_filesize || this.uploadData.post_max_size)
|
||||
(this.uploadData?.upload_max_filesize || this.uploadData?.post_max_size)
|
||||
? [
|
||||
this.uploadData.upload_max_filesize
|
||||
? 'upload_max_filesize = ' + this.uploadData.upload_max_filesize + '; '
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue