Fix spread operator use.
This commit is contained in:
parent
e13fdf883c
commit
73613ce8bf
|
@ -307,7 +307,7 @@ export async function enrichSchema(
|
|||
// if nothing specified in view, then it is not visible
|
||||
const ui = viewSchema[key] || { visible: false }
|
||||
schema[key] = {
|
||||
...(tableSchema[key] || {}),
|
||||
...tableSchema[key],
|
||||
...ui,
|
||||
order: anyViewOrder ? ui?.order ?? undefined : tableSchema[key]?.order,
|
||||
columns: undefined,
|
||||
|
|
Loading…
Reference in New Issue