mirror of
https://github.com/wekan/wekan.git
synced 2026-02-08 09:24:20 +01:00
Fix #6118: Raise minimum list width from 100 to 270 in existing configurable system
This commit is contained in:
parent
345f9ec223
commit
93ebae78b8
4 changed files with 7 additions and 7 deletions
|
|
@ -1330,7 +1330,7 @@ Users.helpers({
|
|||
if (widths[boardId] && widths[boardId][listId]) {
|
||||
const width = widths[boardId][listId];
|
||||
// Validate it's a valid number
|
||||
if (validators.isValidNumber(width, 100, 1000)) {
|
||||
if (validators.isValidNumber(width, 270, 1000)) {
|
||||
return width;
|
||||
}
|
||||
}
|
||||
|
|
@ -1349,7 +1349,7 @@ Users.helpers({
|
|||
}
|
||||
|
||||
// Validate width before storing
|
||||
if (!validators.isValidNumber(width, 100, 1000)) {
|
||||
if (!validators.isValidNumber(width, 270, 1000)) {
|
||||
console.warn('Invalid list width:', width);
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue