From 121a40dc5ca78254de1d1cda8940084a63571440 Mon Sep 17 00:00:00 2001 From: Jamie Attwood Date: Tue, 30 Apr 2024 09:47:13 -0400 Subject: [PATCH 1/2] TableDataEditor.js Updates - Changed allowable number of rows from 12 to 24 --- .../wwwroot/Scripts/Controllers/TableDataEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Limbo.Umbraco.Tables/wwwroot/Scripts/Controllers/TableDataEditor.js b/src/Limbo.Umbraco.Tables/wwwroot/Scripts/Controllers/TableDataEditor.js index 5702eb7..37933d9 100644 --- a/src/Limbo.Umbraco.Tables/wwwroot/Scripts/Controllers/TableDataEditor.js +++ b/src/Limbo.Umbraco.Tables/wwwroot/Scripts/Controllers/TableDataEditor.js @@ -25,7 +25,7 @@ vm.addColumn = function () { - if (vm.table.columns.length >= 12) { + if (vm.table.columns.length >= 24) { return; } From ced966ab4fb81148a7a75a924f27e5c941942696 Mon Sep 17 00:00:00 2001 From: Jamie Attwood Date: Tue, 30 Apr 2024 17:28:22 -0400 Subject: [PATCH 2/2] TableDataEditor.js Updates - Removed column count limit when adding new columns --- .../wwwroot/Scripts/Controllers/TableDataEditor.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Limbo.Umbraco.Tables/wwwroot/Scripts/Controllers/TableDataEditor.js b/src/Limbo.Umbraco.Tables/wwwroot/Scripts/Controllers/TableDataEditor.js index 37933d9..367e212 100644 --- a/src/Limbo.Umbraco.Tables/wwwroot/Scripts/Controllers/TableDataEditor.js +++ b/src/Limbo.Umbraco.Tables/wwwroot/Scripts/Controllers/TableDataEditor.js @@ -25,10 +25,6 @@ vm.addColumn = function () { - if (vm.table.columns.length >= 24) { - return; - } - const column = {}; vm.table.columns.push(column);