openchs-models 1.33.28 → 1.33.29
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.
|
@@ -70,11 +70,11 @@ class ReportCardResult extends _BaseEntity.default {
|
|
|
70
70
|
reportCardResult.hasErrorMsg = hasErrorMsg;
|
|
71
71
|
return reportCardResult;
|
|
72
72
|
}
|
|
73
|
-
static fromQueryResult(result
|
|
73
|
+
static fromQueryResult(result) {
|
|
74
74
|
const reportCardResult = ReportCardResult.create(result.primaryValue, result.secondaryValue, _lodash.default.isFunction(result.lineListFunction), result.hasErrorMsg);
|
|
75
75
|
if (!result.hasErrorMsg) {
|
|
76
76
|
reportCardResult.cardName = result.cardName;
|
|
77
|
-
reportCardResult.cardColor =
|
|
77
|
+
reportCardResult.cardColor = result.cardColor;
|
|
78
78
|
reportCardResult.textColor = result.textColor;
|
|
79
79
|
}
|
|
80
80
|
return reportCardResult;
|