mirror of
https://github.com/grocy/grocy.git
synced 2025-08-18 03:25:50 +00:00
Don't show invisible columns in table options
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user