MOBILE-1927 calendar: Fix offline events not displayed in day view
parent
2b72b65ba5
commit
4e3f57533b
|
@ -321,7 +321,7 @@ export class AddonCalendarDayPage implements OnInit, OnDestroy {
|
|||
protected mergeEvents(): any[] {
|
||||
this.hasOffline = false;
|
||||
|
||||
if (!this.offlineEditedEventsIds.length && !this.deletedEvents.length) {
|
||||
if (!Object.keys(this.offlineEvents).length && !this.deletedEvents.length) {
|
||||
// No offline events, nothing to merge.
|
||||
return this.onlineEvents;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue