fix only show advanced toggle on newt sites

This commit is contained in:
miloschwartz
2026-01-19 11:50:56 -08:00
parent fd6a3e5a17
commit 5edfed78f2

View File

@@ -728,6 +728,7 @@ WantedBy=default.target`
</FormItem>
)}
/>
{form.watch("method") === "newt" && (
<div className="flex items-center justify-end md:col-start-2">
<Button
type="button"
@@ -748,6 +749,7 @@ WantedBy=default.target`
{t("advancedSettings")}
</Button>
</div>
)}
{form.watch("method") === "newt" &&
showAdvancedSettings && (
<FormField