+
{mode === 'department' ? (
) : (
)}
-
{node.name}
+
+ {node.name}
+
{hasChildren && (
- {isMultiTenant && (
- <>
-
-
- setTenantName(e.target.value)}
- style={tenantStyle}
- aria-hidden={subDomainName && subDomainName !== defaultDomain ? 'true' : 'false'}
- />
-
- >
- )}
+
{
name="userName"
placeholder={translate('::Abp.Account.EmailAddress')}
component={Input}
- inputClassName="dark:bg-gray-900 dark:text-gray-100"
+ className="dark:bg-gray-900 dark:text-gray-100"
/>
)}
diff --git a/ui/src/views/auth/Register.tsx b/ui/src/views/auth/Register.tsx
index c47beca..e59d7d7 100644
--- a/ui/src/views/auth/Register.tsx
+++ b/ui/src/views/auth/Register.tsx
@@ -1,5 +1,6 @@
import ActionLink from '@/components/shared/ActionLink'
import PasswordInput from '@/components/shared/PasswordInput'
+import TenantSelector from '@/components/shared/TenantSelector'
import Alert from '@/components/ui/Alert'
import Button from '@/components/ui/Button'
import { FormContainer, FormItem } from '@/components/ui/Form'
@@ -83,6 +84,7 @@ const Register = () => {
{error}
)}
+
{
{error}
)}
+