mirror of
https://github.com/rowyio/rowy.git
synced 2025-12-29 00:16:39 +01:00
remove max column width
This commit is contained in:
@@ -114,11 +114,7 @@ export default function Table({
|
||||
tableSettings.readOnly && !userRoles.includes("ADMIN")
|
||||
? false
|
||||
: column.editable ?? true,
|
||||
width: (column.width as number)
|
||||
? (column.width as number) > MAX_COL_WIDTH
|
||||
? MAX_COL_WIDTH
|
||||
: (column.width as number)
|
||||
: DEFAULT_COL_WIDTH,
|
||||
width: column.width ?? 100,
|
||||
}));
|
||||
|
||||
if (userRoles.includes("ADMIN") || !tableSettings.readOnly) {
|
||||
|
||||
Reference in New Issue
Block a user