show advanced options button also in advanced mode

because the option doesn't get reset when export confirm closes
pull/2575/head
Mikael Finstad 8 months ago
parent 251106e3aa
commit 25110641af
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -420,17 +420,15 @@ function ExportConfirm({
<td />
</tr>
{simpleMode && (
<tr>
<td>
{t('Show advanced options')}
</td>
<td>
<Switch checked={showAdvanced} onCheckedChange={setShowAdvanced} />
</td>
<td />
</tr>
)}
<tr>
<td>
{t('Show advanced options')}
</td>
<td>
<Switch checked={showAdvanced} onCheckedChange={setShowAdvanced} />
</td>
<td />
</tr>
{showAdvanced && (
<>

Loading…
Cancel
Save