feat: hide background image select when background is not checked
This commit is contained in:
parent
9e9f564ea9
commit
a005c789c1
@ -197,6 +197,7 @@ const ImageExportModal = ({
|
||||
label={t("imageExportDialog.label.withBackground")}
|
||||
name="exportBackgroundSwitch"
|
||||
>
|
||||
{exportWithBackground && (
|
||||
<Select
|
||||
items={EXPORT_BACKGROUND_IMAGES}
|
||||
ariaLabel={t("imageExportDialog.label.backgroundImage")}
|
||||
@ -213,6 +214,7 @@ const ImageExportModal = ({
|
||||
}
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
<Switch
|
||||
name="exportBackgroundSwitch"
|
||||
checked={exportWithBackground}
|
||||
|
Loading…
x
Reference in New Issue
Block a user