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:
@ -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,
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user