diff --git a/packages/openchs-android/src/service/EntitySyncStatusService.js b/packages/openchs-android/src/service/EntitySyncStatusService.js index b387ec900..ebc27ca1c 100644 --- a/packages/openchs-android/src/service/EntitySyncStatusService.js +++ b/packages/openchs-android/src/service/EntitySyncStatusService.js @@ -110,7 +110,8 @@ class EntitySyncStatusService extends BaseService { removeRevokedPrivileges(entityMetaDataModel, syncDetails) { const hasAllPrivileges = this.getService(PrivilegeService).hasAllPrivileges(); - if (hasAllPrivileges) return; + if (hasAllPrivileges) return [...syncDetails]; + const privilegeEntities = entityMetaDataModel.filter(entity => entity.privilegeParam); const syncDetailsWithPrivilege = [...syncDetails]; privilegeEntities.forEach(entity => {