From 6cf6c82ff5f602f74ef3c7156fc6f266ff6ee22a Mon Sep 17 00:00:00 2001 From: Vitalii Kiiko Date: Tue, 29 Apr 2025 15:56:11 +0200 Subject: [PATCH] - fixed issues displaying 404 error related html in some pages; --- src/routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes.js b/src/routes.js index 86f66c8..43ee697 100644 --- a/src/routes.js +++ b/src/routes.js @@ -245,8 +245,8 @@ const routes = ({ role, chosenCompanyId }) => { }/> {'ROLE_SUPER_ADMIN' === role ? : null} - {'ROLE_BENEFICIARY' === role && chosenCompanyId > 0 ? : } - {'ROLE_CONFIDI' === role && chosenCompanyId > 0 ? : } + {'ROLE_BENEFICIARY' === role ? (chosenCompanyId > 0 ? : ) : null} + {'ROLE_CONFIDI' === role ? (chosenCompanyId > 0 ? : ) : null} {'ROLE_PRE_INSTRUCTOR' === role ? : null} {'ROLE_INSTRUCTOR_MANAGER' === role ? : null} }/>