diff --git a/app/javascript/components/shared_components/Header.jsx b/app/javascript/components/shared_components/Header.jsx index 614fed0688..5ff423a3b5 100644 --- a/app/javascript/components/shared_components/Header.jsx +++ b/app/javascript/components/shared_components/Header.jsx @@ -29,7 +29,9 @@ export default function Header() { const currentUser = useAuth(); let homePath = '/'; - if (currentUser?.permissions?.CreateRoom === 'false') { + if (currentUser?.permissions?.CreateRoom === 'true') { + homePath = '/rooms'; + } else if (currentUser?.permissions?.CreateRoom === 'false') { homePath = '/home'; }