openchs-models 1.31.98 → 1.31.99
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.
|
@@ -258,6 +258,10 @@ class DashboardFilterConfig {
|
|
|
258
258
|
return ![_CustomFilter.default.type.SubjectType, _CustomFilter.default.type.AsOnDate].includes(this.type);
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
+
isAsOnDateFilter() {
|
|
262
|
+
return this.type === _CustomFilter.default.type.AsOnDate;
|
|
263
|
+
}
|
|
264
|
+
|
|
261
265
|
isValid() {
|
|
262
266
|
const valid = !_lodash.default.isNil(this.type);
|
|
263
267
|
if (!valid) return valid;
|