MOBILE-3320 workshop: Fix offline warning never disappearing

main
Dani Palou 2021-06-16 10:02:25 +02:00
parent 7de65ddd5a
commit 3f7dfb2549
1 changed files with 4 additions and 0 deletions

View File

@ -345,6 +345,8 @@ export class AddonModWorkshopSyncProvider extends CoreSyncBaseProvider<AddonModW
attachmentsId,
siteId,
);
break;
case AddonModWorkshopAction.UPDATE:
await AddonModWorkshop.updateSubmissionOnline(
submissionId,
@ -353,6 +355,8 @@ export class AddonModWorkshopSyncProvider extends CoreSyncBaseProvider<AddonModW
attachmentsId,
siteId,
);
break;
case AddonModWorkshopAction.DELETE:
await AddonModWorkshop.deleteSubmissionOnline(submissionId, siteId);
}