Skip to content

Commit

Permalink
Fix spread operator use.
Browse files Browse the repository at this point in the history
  • Loading branch information
samwho committed Oct 2, 2024
1 parent e13fdf8 commit 73613ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/sdk/app/views/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 73613ce

Please sign in to comment.