mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
Fixed table column visibility selection
This commit is contained in:
parent
9cdb0908d6
commit
491412807c
@ -1034,7 +1034,7 @@ $(".change-table-columns-visibility-button").on("click", function(e)
|
|||||||
var title = headerCell.text();
|
var title = headerCell.text();
|
||||||
var visible = this.visible();
|
var visible = this.visible();
|
||||||
|
|
||||||
if (!title || title.startsWith("Hidden") || headerCell.hasClass("d-none"))
|
if (!title || title.trim().length == 0 || title.startsWith("Hidden") || headerCell.hasClass("d-none"))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user