fix check for unformatted fields on compliance
@@ -676,12 +676,13 @@ export default Component.extend({
try {
await confirmHandler;
- complianceEntities.setObjects([...formatted, ...unformattedComplianceEntities]);
} catch (e) {
isConfirmed = false;
}
}
+ isConfirmed && complianceEntities.setObjects([...formatted, ...unformattedComplianceEntities]);
+
return isConfirmed;
},
