1
0
Fork 0
mirror of synced 2024-10-04 20:13:35 +13:00

Fix spread operator use.

This commit is contained in:
Sam Rose 2024-10-02 16:52:40 +01:00
parent e13fdf883c
commit 73613ce8bf
No known key found for this signature in database

View file

@ -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,