Skip to content

Commit 6151faf

Browse files
committed
table bug fix
Signed-off-by: MarioRadu <magda_marior@yahoo.com>
1 parent 317f29d commit 6151faf

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/App/assets/js/components/_table_settings.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,9 @@ $(function() {
133133
.then((response) => response.json())
134134
.then(settings => {
135135
populateColumnSelector('#column-selector', settings.data.value);
136-
hideColumns(tableId, settings.data.value);
136+
if (settings.data.value.length > 0) {
137+
hideColumns(tableId, settings.data.value);
138+
}
137139
})
138140
.catch(error => console.error('Error: ', error));
139141
});

0 commit comments

Comments
 (0)