@steedos-widgets/sortable 3.6.2-beta.3 → 3.6.2-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -58284,7 +58284,10 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58284
58284
  // ]
58285
58285
  if(options.displayAs === 'split'){
58286
58286
  return [
58287
- "switch-per-page",
58287
+ {
58288
+ "type": "switch-per-page",
58289
+ "visibleOn": "${count >= 20}"
58290
+ },
58288
58291
  {
58289
58292
  "type": "pagination",
58290
58293
  "maxButtons": 5,
@@ -58328,7 +58331,10 @@ function getObjectFooterToolbar(mainObject, formFactor, options) {
58328
58331
  if (no_pagination && is_lookup) {
58329
58332
  return commonConfig;
58330
58333
  } else {
58331
- return ["switch-per-page", ...commonConfig];
58334
+ return [{
58335
+ "type": "switch-per-page",
58336
+ "visibleOn": "${count >= 20}"
58337
+ }, ...commonConfig];
58332
58338
  }
58333
58339
  }
58334
58340
  }