fix(signinup): several issues (#12698)

- Fixed an issue where you have invitations in your available workspaces
for signup.
- Corrected the URL display in the browser when hovering over the twenty
logo on the sign-in/up form.
- The workspace list is now displayed when you are logged into the
default domain.
This commit is contained in:
Antoine Moreaux
2025-06-18 13:13:44 +02:00
committed by GitHub
parent c9344cf427
commit 9612a4928d
5 changed files with 47 additions and 28 deletions

View File

@ -10,7 +10,11 @@ export const useReadDefaultDomainFromConfiguration = () => {
? `${domainConfiguration.defaultSubdomain}.${domainConfiguration.frontDomain}`
: domainConfiguration.frontDomain;
const defaultUrl = new URL(window.location.href);
defaultUrl.hostname = defaultDomain;
return {
defaultDomain,
defaultUrl,
};
};