openchs-models 1.33.33 → 1.33.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ReportCard.js +1 -1
- package/package.json +1 -1
package/dist/ReportCard.js
CHANGED
|
@@ -230,7 +230,7 @@ class ReportCard extends _BaseEntity.default {
|
|
|
230
230
|
this.that.customCardConfig = this.fromObject(x);
|
|
231
231
|
}
|
|
232
232
|
isFullyCustom() {
|
|
233
|
-
return !_lodash.default.isNil(this.customCardConfig);
|
|
233
|
+
return !_lodash.default.isNil(this.customCardConfig) && !this.customCardConfig.voided;
|
|
234
234
|
}
|
|
235
235
|
static deriveCardType(card) {
|
|
236
236
|
if (card.customCardConfig) return ReportCard.cardTypes.fullyCustom;
|