mirror of
https://github.com/grocy/grocy.git
synced 2026-03-28 07:39:25 +01:00
Don't show invisible columns in table options
This commit is contained in:
parent
632db0d8d1
commit
150cfba455
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@
|
|||
<th class="allow-grouping">{{ $__t('Parent product') }}</th>
|
||||
<th class="allow-grouping">{{ $__t('Default location') }}</th>
|
||||
<th>{{ $__t('Product picture') }}</th>
|
||||
<th>{{ $__t('Average price') }}</th>
|
||||
<th class="@if(!GROCY_FEATURE_FLAG_STOCK_PRICE_TRACKING) d-none @endif">{{ $__t('Average price') }}</th>
|
||||
|
||||
@include('components.userfields_thead', array(
|
||||
'userfields' => $userfields
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user