diff --git a/src/app/[orgId]/settings/resources/private/create/page.tsx b/src/app/[orgId]/settings/resources/private/create/page.tsx index 717464283..b895ff5a3 100644 --- a/src/app/[orgId]/settings/resources/private/create/page.tsx +++ b/src/app/[orgId]/settings/resources/private/create/page.tsx @@ -450,7 +450,6 @@ export default function CreatePrivateResourcePage() { )} watch={asAnyWatch(form.watch)} labelPrefix="create" - disabled={false} /> )} @@ -598,7 +597,6 @@ export default function CreatePrivateResourcePage() { )} orgId={orgId} watch={asAnyWatch(form.watch)} - disabled={true} labelPrefix="create" hideDomainPicker /> @@ -627,7 +625,6 @@ export default function CreatePrivateResourcePage() { setValue={asAnySetValue(form.setValue)} watch={asAnyWatch(form.watch)} orgId={orgId} - disabled={false} selectedSites={selectedSites} onSelectedSitesChange={setSelectedSites} labelPrefix="create" diff --git a/src/app/[orgId]/settings/resources/public/[niceId]/rdp/page.tsx b/src/app/[orgId]/settings/resources/public/[niceId]/rdp/page.tsx index 377da8e75..90210425a 100644 --- a/src/app/[orgId]/settings/resources/public/[niceId]/rdp/page.tsx +++ b/src/app/[orgId]/settings/resources/public/[niceId]/rdp/page.tsx @@ -75,7 +75,6 @@ export default function RdpSettingsPage(props: { orgId={params.orgId} resource={resource} updateResource={updateResource} - disabled={false} targetsResponse={targetsResponse ?? { targets: [] }} /> @@ -85,13 +84,11 @@ export default function RdpSettingsPage(props: { function RdpServerForm({ orgId, resource, - disabled, targetsResponse }: { orgId: string; resource: GetResourceResponse; updateResource: ResourceContextType["updateResource"]; - disabled: boolean; targetsResponse: ResourceTargetsResponse; }) { const t = useTranslations(); @@ -208,10 +205,6 @@ function RdpServerForm({ {t("rdpServerDescription")} -
@@ -237,7 +230,6 @@ function RdpServerForm({ -
); } diff --git a/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx b/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx index 7ab22530d..f8182f858 100644 --- a/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx +++ b/src/app/[orgId]/settings/resources/public/[niceId]/ssh/page.tsx @@ -95,7 +95,6 @@ export default function SshSettingsPage(props: { orgId={params.orgId} resource={resource} updateResource={updateResource} - disabled={false} targetsResponse={targetsResponse ?? { targets: [] }} /> @@ -106,13 +105,11 @@ function SshServerForm({ orgId, resource, updateResource, - disabled, targetsResponse }: { orgId: string; resource: GetResourceResponse; updateResource: ResourceContextType["updateResource"]; - disabled: boolean; targetsResponse: ResourceTargetsResponse; }) { const t = useTranslations(); @@ -368,10 +365,6 @@ function SshServerForm({ {t("sshServerDescription")} -
@@ -523,7 +516,6 @@ function SshServerForm({ -
); } diff --git a/src/app/[orgId]/settings/resources/public/[niceId]/vnc/page.tsx b/src/app/[orgId]/settings/resources/public/[niceId]/vnc/page.tsx index 8d03c0e4b..bee578012 100644 --- a/src/app/[orgId]/settings/resources/public/[niceId]/vnc/page.tsx +++ b/src/app/[orgId]/settings/resources/public/[niceId]/vnc/page.tsx @@ -75,7 +75,6 @@ export default function VncSettingsPage(props: { orgId={params.orgId} resource={resource} updateResource={updateResource} - disabled={true} targetsResponse={targetsResponse ?? { targets: [] }} /> @@ -85,13 +84,11 @@ export default function VncSettingsPage(props: { function VncServerForm({ orgId, resource, - disabled, targetsResponse }: { orgId: string; resource: GetResourceResponse; updateResource: ResourceContextType["updateResource"]; - disabled: boolean; targetsResponse: ResourceTargetsResponse; }) { const t = useTranslations(); @@ -208,10 +205,6 @@ function VncServerForm({ {t("vncServerDescription")} -
@@ -237,7 +230,6 @@ function VncServerForm({ -
); }