Fixing issue with cell renderer not falling back to string rendering when type unknown.
This commit is contained in:
parent
8f88187e49
commit
479b5870dd
|
@ -23,7 +23,7 @@
|
|||
}
|
||||
$: type = schema?.type ?? "string"
|
||||
$: customRenderer = customRenderers?.find(x => x.column === schema?.name)
|
||||
$: renderer = customRenderer?.component ?? typeMap[type]
|
||||
$: renderer = customRenderer?.component ?? typeMap[type] ?? StringRenderer
|
||||
</script>
|
||||
|
||||
{#if renderer && (customRenderer || (value != null && value !== ""))}
|
||||
|
|
Loading…
Reference in New Issue