!99 Fix the tab_product module reporting an error when there is no data
* Fix the tab_product module reporting an error when there is no data
This commit is contained in:
parent
812b7655af
commit
fcb6c888dc
|
|
@ -2,9 +2,9 @@
|
||||||
@include('design._partial._module_tool')
|
@include('design._partial._module_tool')
|
||||||
|
|
||||||
<div class="module-info module-tab-product">
|
<div class="module-info module-tab-product">
|
||||||
<div class="module-title">{{ $content['title'] }}</div>
|
<div class="module-title">{{ $content['title'] ?? '' }}</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
@if ($content['tabs'])
|
@if ($content['tabs'] ?? false)
|
||||||
<div class="nav justify-content-center mb-3">
|
<div class="nav justify-content-center mb-3">
|
||||||
@foreach ($content['tabs'] as $key => $tabs)
|
@foreach ($content['tabs'] as $key => $tabs)
|
||||||
<a class="nav-link {{ $loop->first ? 'active' : '' }}" href="#tab-product-{{ $loop->index }}" data-bs-toggle="tab">{{ $tabs['title'] }}</a>
|
<a class="nav-link {{ $loop->first ? 'active' : '' }}" href="#tab-product-{{ $loop->index }}" data-bs-toggle="tab">{{ $tabs['title'] }}</a>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue