mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-20 00:08:02 +01:00
fix: add export button behind flag (#3416)
This commit is contained in:
parent
e16bc56173
commit
7af5023511
@ -46,14 +46,19 @@ export const ProjectFeaturesBatchActions: FC<
|
||||
return (
|
||||
<>
|
||||
<ArchiveButton projectId={projectId} features={selectedIds} />
|
||||
<Button
|
||||
startIcon={<FileDownload />}
|
||||
variant="outlined"
|
||||
size="small"
|
||||
onClick={() => setShowExportDialog(true)}
|
||||
>
|
||||
Export
|
||||
</Button>
|
||||
<ConditionallyRender
|
||||
condition={Boolean(uiConfig?.flags?.featuresExportImport)}
|
||||
show={
|
||||
<Button
|
||||
startIcon={<FileDownload />}
|
||||
variant="outlined"
|
||||
size="small"
|
||||
onClick={() => setShowExportDialog(true)}
|
||||
>
|
||||
Export
|
||||
</Button>
|
||||
}
|
||||
/>
|
||||
<ManageTags projectId={projectId} data={selectedData} />
|
||||
<MoreActions projectId={projectId} data={selectedData} />
|
||||
<ConditionallyRender
|
||||
|
Loading…
Reference in New Issue
Block a user