diff --git a/public/js/grocy.js b/public/js/grocy.js index b81940c5..e58d7525 100644 --- a/public/js/grocy.js +++ b/public/js/grocy.js @@ -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; } diff --git a/views/stockoverview.blade.php b/views/stockoverview.blade.php index a3b98a34..6c1098d7 100755 --- a/views/stockoverview.blade.php +++ b/views/stockoverview.blade.php @@ -175,7 +175,7 @@ {{ $__t('Parent product') }} {{ $__t('Default location') }} {{ $__t('Product picture') }} - {{ $__t('Average price') }} + {{ $__t('Average price') }} @include('components.userfields_thead', array( 'userfields' => $userfields