mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-11-09 10:51:45 +00:00
fix(ui): Fix invalid display when creating new appointment / mail on mobile. Initialize isFullscreen to if screen is in portrait. Fixes #5970.
This commit is contained in:
1 parent
6ac8525bfe
commit
314b39dd1c
2 files changed
+2
-2
No files matched your search
@@ -230,7 +230,7 @@
|
||||
this.categories = {};
|
||||
this.showRecurrenceEditor = this.component.$hasCustomRepeat;
|
||||
this.showAttendeesEditor = this.component.attendees && this.component.attendees.length;
|
||||
this.isFullscreen = false;
|
||||
this.isFullscreen = (typeof screen.orientation !== 'undefined' && screen.orientation && 'portrait-primary' == screen.orientation.type);
|
||||
this.originalModalCancel = $mdDialog.cancel;
|
||||
|
||||
if (this.component.type == 'appointment') {
|
||||
|
||||
Reference in new issue
Block a user