mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
fix: update configured version for layout calc in app import
This commit is contained in:
parent
b94e48542d
commit
82ad26ce09
2 changed files with 3 additions and 3 deletions
|
|
@ -239,7 +239,6 @@ export function isTooljetVersionWithNormalizedAppDefinitionSchem(version) {
|
|||
/**
|
||||
* Checks if a given Tooljet version is compatible with the grid compatibility fix.
|
||||
*/
|
||||
|
||||
export function shouldApplyGridCompatibilityFix(version) {
|
||||
return semver.satisfies(semver.coerce(version), '>= 2.24.0 < 2.27.0');
|
||||
return semver.satisfies(semver.coerce(version), '>= 2.24.0 < 2.27.7');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -60,7 +60,8 @@ const DefaultDataSourceNames: DefaultDataSourceName[] = [
|
|||
const DefaultDataSourceKinds: DefaultDataSourceKind[] = ['restapi', 'runjs', 'runpy', 'tooljetdb', 'workflows'];
|
||||
|
||||
function resolveGridPositionForComponent(dimension: number, type: string) {
|
||||
const numberOfGrids = type === 'desktop' ? 43 : 12;
|
||||
// const numberOfGrids = type === 'desktop' ? 43 : 12;
|
||||
const numberOfGrids = 43;
|
||||
return Math.round((dimension * numberOfGrids) / 100);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue