From 0e0dc69b78206509ab79f9a9b383e5019efb64b6 Mon Sep 17 00:00:00 2001 From: Bram Gerritsen Date: Tue, 19 Mar 2024 12:51:27 +0100 Subject: [PATCH] fix: missing viewmodel assignment --- view/frontend/templates/logged_in.phtml | 1 + 1 file changed, 1 insertion(+) diff --git a/view/frontend/templates/logged_in.phtml b/view/frontend/templates/logged_in.phtml index e8cb8bc..47cbce8 100644 --- a/view/frontend/templates/logged_in.phtml +++ b/view/frontend/templates/logged_in.phtml @@ -4,6 +4,7 @@ * @var $viewModel \Emico\RobinHq\ViewModel\LoggedInCustomer */ +$viewModel = $block->getViewModel(); if (!$viewModel->shouldRender()) { return ''; }