home page mobile changed

This commit is contained in:
merdan 2020-03-28 18:59:53 +05:00
parent 8506d75436
commit c0fb787cf0
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Breadcrumbs::for('home', function ($trail) {
Breadcrumbs::for('category', function ($trail, $category){
$trail->parent('home');
if(!empty($category) && $category->parent_id){
if(!empty($category) && $category->parent){
$parent = $category->parent;
$trail->push($parent->title,$parent->url);
}