mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-04 17:09:30 +00:00
♻️ pass default subdomain value to org auth page settings
This commit is contained in:
@@ -510,6 +510,14 @@ const AuthPageSettings = forwardRef<AuthPageSettingsRef, AuthPageSettingsProps>(
|
||||
hideFreeDomain={true}
|
||||
orgId={org?.org.orgId as string}
|
||||
cols={1}
|
||||
defaultDomainId={
|
||||
form.getValues("authPageDomainId") ??
|
||||
loginPage?.domainId
|
||||
}
|
||||
defaultSubdomain={
|
||||
form.getValues("authPageSubdomain") ??
|
||||
loginPage?.subdomain
|
||||
}
|
||||
onDomainChange={(res) => {
|
||||
const selected = {
|
||||
domainId: res.domainId,
|
||||
|
||||
Reference in New Issue
Block a user