Fix undefined reference

This commit is contained in:
Adria Navarro 2025-01-27 13:45:35 +01:00
parent 3de4cc3e60
commit 9c6ce76f68
1 changed files with 3 additions and 0 deletions

View File

@ -56,6 +56,9 @@ export const screenComponentErrors = derived(
["table", "dataSource"] ["table", "dataSource"]
)) { )) {
const componentSettings = component[setting.key] const componentSettings = component[setting.key]
if (!componentSettings) {
continue
}
const { label } = componentSettings const { label } = componentSettings
const type = componentSettings.type as UIDatasourceType const type = componentSettings.type as UIDatasourceType