Reset display field if required

This commit is contained in:
Adria Navarro 2023-10-10 16:17:03 +02:00
parent 6124139295
commit 193b8785ee
1 changed files with 4 additions and 0 deletions

View File

@ -101,6 +101,10 @@
return validation[column] && canBeDisplayColumn(schema[column].type)
})
$: if (displayColumn && !canBeDisplayColumn(schema[displayColumn].type)) {
displayColumn = null
}
$: {
// binding in consumer is causing double renders here
const newValidateHash = JSON.stringify(rows) + JSON.stringify(schema)