MOBILE-2856 data: Fix error when adding entry offline
parent
affe05a9d5
commit
3d0e7d14e1
|
@ -137,6 +137,8 @@ export class AddonModDataProvider {
|
||||||
fieldnotifications: notifications
|
fieldnotifications: notifications
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return storeOffline();
|
||||||
}
|
}
|
||||||
|
|
||||||
return this.addEntryOnline(dataId, contents, groupId, siteId).catch((error) => {
|
return this.addEntryOnline(dataId, contents, groupId, siteId).catch((error) => {
|
||||||
|
|
Loading…
Reference in New Issue