diff --git a/resources/views/components/backend/section-header.blade.php b/resources/views/components/backend/section-header.blade.php index daef2444..717d6500 100644 --- a/resources/views/components/backend/section-header.blade.php +++ b/resources/views/components/backend/section-header.blade.php @@ -84,6 +84,15 @@ class="ms-1" small="true" /> @elseif (Str::endsWith(Route::currentRouteName(), "show")) + @if (Route::has("frontend.$module_name.show")) + + @endif + @if (auth()->user()->can("edit_" . $module_name) && Route::has("backend." . $module_name . ".edit"))