Fixing issue with cell renderer not falling back to string rendering when type unknown.
This commit is contained in:
parent
8f7b417738
commit
0debc239a1
|
@ -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