fix:edit booking blade
This commit is contained in:
@@ -23,5 +23,15 @@ if (!function_exists('getUserFullName')) {
|
||||
}
|
||||
return Storage::disk('public')->url($file->path);
|
||||
}
|
||||
|
||||
if (!function_exists('activeAccountSidebar')) {
|
||||
function activeAccountSidebar(string $routeName): string
|
||||
{
|
||||
if (\Illuminate\Support\Facades\Route::currentRouteName() == $routeName) {
|
||||
return 'bg-blue-500/10 text-blue-500';
|
||||
}
|
||||
return 'hover:text-blue-500';
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user