Merge pull request #4688 from devansh-webkul/issue-4685

Fixed blank space which remains on the homepage when disabling out of stock item from backend #4685
This commit is contained in:
Glenn Hermans 2021-02-26 16:11:57 +01:00 committed by GitHub
commit 8caecd4bd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -84,7 +84,9 @@ class ShopController extends Controller
return $this->velocityHelper->formatProduct($product);
}
}
}),
})->reject(function ($product) {
return is_null($product);
})->values(),
];
break;