Don't show invisible columns in table options

This commit is contained in:
Bernd Bestel
2022-04-07 19:46:13 +02:00
parent 632db0d8d1
commit 150cfba455
2 changed files with 2 additions and 2 deletions

View File

@@ -1002,7 +1002,7 @@ $(".change-table-columns-visibility-button").on("click", function(e)
var title = headerCell.text();
var visible = this.visible();
if (title.isEmpty() || title.startsWith("Hidden"))
if (title.isEmpty() || title.startsWith("Hidden") || headerCell.hasClass("d-none"))
{
return;
}