Fix width when default

This commit is contained in:
Adria Navarro 2024-12-31 12:40:51 +01:00
parent 24b6a25e2e
commit 71c4d3bc5a
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ export const initialise = (context: StoreContext) => {
name: field,
label: fieldSchema.displayName || field,
schema: fieldSchema,
width: fieldSchema.width || oldColumn?.width || DefaultColumnWidth,
width: fieldSchema.width || DefaultColumnWidth,
visible: fieldSchema.visible ?? true,
readonly: fieldSchema.readonly,
order: fieldSchema.order ?? oldColumn?.order,