mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-31 00:16:47 +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 (
|
return (
|
||||||
<>
|
<>
|
||||||
<ArchiveButton projectId={projectId} features={selectedIds} />
|
<ArchiveButton projectId={projectId} features={selectedIds} />
|
||||||
<Button
|
<ConditionallyRender
|
||||||
startIcon={<FileDownload />}
|
condition={Boolean(uiConfig?.flags?.featuresExportImport)}
|
||||||
variant="outlined"
|
show={
|
||||||
size="small"
|
<Button
|
||||||
onClick={() => setShowExportDialog(true)}
|
startIcon={<FileDownload />}
|
||||||
>
|
variant="outlined"
|
||||||
Export
|
size="small"
|
||||||
</Button>
|
onClick={() => setShowExportDialog(true)}
|
||||||
|
>
|
||||||
|
Export
|
||||||
|
</Button>
|
||||||
|
}
|
||||||
|
/>
|
||||||
<ManageTags projectId={projectId} data={selectedData} />
|
<ManageTags projectId={projectId} data={selectedData} />
|
||||||
<MoreActions projectId={projectId} data={selectedData} />
|
<MoreActions projectId={projectId} data={selectedData} />
|
||||||
<ConditionallyRender
|
<ConditionallyRender
|
||||||
|
Loading…
Reference in New Issue
Block a user