Skip to content

Commit

Permalink
Merge pull request #59 from EmicoEcommerce/bramstroker-patch-1
Browse files Browse the repository at this point in the history
fix: missing viewmodel assignment
  • Loading branch information
bramstroker authored Mar 19, 2024
2 parents 1d5c0e0 + 0e0dc69 commit b6d70b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions view/frontend/templates/logged_in.phtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* @var $viewModel \Emico\RobinHq\ViewModel\LoggedInCustomer
*/

$viewModel = $block->getViewModel();
if (!$viewModel->shouldRender()) {
return '';
}
Expand Down

0 comments on commit b6d70b3

Please sign in to comment.