mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-17 21:25:54 +02:00
Merge pull request #1378 from OpenSignLabs/raktima-patch-8
fix: form advanced options panel currently opens or closes when clicking outside the panel.
This commit is contained in:
@@ -1394,20 +1394,20 @@ const Forms = (props) => {
|
||||
)}
|
||||
|
||||
{isAdvanceOpt && props.title !== "Sign Yourself" ? (
|
||||
<div
|
||||
<span
|
||||
onClick={() => setIsAdvanceOpt(!isAdvanceOpt)}
|
||||
className={`mt-2.5 op-link op-link-primary text-sm`}
|
||||
>
|
||||
{t("hide-advanced-options")}
|
||||
</div>
|
||||
</span>
|
||||
) : (
|
||||
props.title !== "Sign Yourself" && (
|
||||
<div
|
||||
<span
|
||||
onClick={() => setIsAdvanceOpt(!isAdvanceOpt)}
|
||||
className={`mt-2.5 op-link op-link-primary text-sm`}
|
||||
>
|
||||
{t("advanced-options")}
|
||||
</div>
|
||||
</span>
|
||||
)
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user