@hestia-earth/ui-components 0.41.2 → 0.41.3
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.
|
@@ -11670,7 +11670,9 @@ class FilesFormComponent {
|
|
|
11670
11670
|
hasError: error.level === 'error',
|
|
11671
11671
|
hasWarning: error.level === 'warning',
|
|
11672
11672
|
formatter: formatter('')
|
|
11673
|
-
}))
|
|
11673
|
+
}))
|
|
11674
|
+
// only keep the missing blank nodes for now
|
|
11675
|
+
.filter(value => !!value.schemaType), ...(ngDevMode ? [{ debugName: "unmatchedErrors" }] : []));
|
|
11674
11676
|
this.hasError = computed(() => hasError(this.properties()) || this.unmatchedErrors().filter(v => v.hasError).length > 0, ...(ngDevMode ? [{ debugName: "hasError" }] : []));
|
|
11675
11677
|
this.hasWarning = computed(() => hasWarning(this.properties()) || this.unmatchedErrors().filter(v => v.hasWarning).length > 0, ...(ngDevMode ? [{ debugName: "hasWarning" }] : []));
|
|
11676
11678
|
this.canOpen = computed(() => this.properties().some(({ key, closedVisible }) => !isKeyHidden(key) && !closedVisible), ...(ngDevMode ? [{ debugName: "canOpen" }] : []));
|