mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00: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 title = headerCell.text();
|
||||||
var visible = this.visible();
|
var visible = this.visible();
|
||||||
|
|
||||||
if (title.isEmpty() || title.startsWith("Hidden"))
|
if (title.isEmpty() || title.startsWith("Hidden") || headerCell.hasClass("d-none"))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -175,7 +175,7 @@
|
|||||||
<th class="allow-grouping">{{ $__t('Parent product') }}</th>
|
<th class="allow-grouping">{{ $__t('Parent product') }}</th>
|
||||||
<th class="allow-grouping">{{ $__t('Default location') }}</th>
|
<th class="allow-grouping">{{ $__t('Default location') }}</th>
|
||||||
<th>{{ $__t('Product picture') }}</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(
|
@include('components.userfields_thead', array(
|
||||||
'userfields' => $userfields
|
'userfields' => $userfields
|
||||||
|
Loading…
x
Reference in New Issue
Block a user