mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-09 20:26:40 +00:00
fix only show advanced toggle on newt sites
This commit is contained in:
@@ -728,6 +728,7 @@ WantedBy=default.target`
|
|||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
{form.watch("method") === "newt" && (
|
||||||
<div className="flex items-center justify-end md:col-start-2">
|
<div className="flex items-center justify-end md:col-start-2">
|
||||||
<Button
|
<Button
|
||||||
type="button"
|
type="button"
|
||||||
@@ -748,6 +749,7 @@ WantedBy=default.target`
|
|||||||
{t("advancedSettings")}
|
{t("advancedSettings")}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
)}
|
||||||
{form.watch("method") === "newt" &&
|
{form.watch("method") === "newt" &&
|
||||||
showAdvancedSettings && (
|
showAdvancedSettings && (
|
||||||
<FormField
|
<FormField
|
||||||
|
|||||||
Reference in New Issue
Block a user