[cm6] swap replace options in figure modal (#13277)

GitOrigin-RevId: 600ad5e340b1bc182986283c9c6dcb2040d4009f
This commit is contained in:
Domagoj Kriskovic 2023-06-07 10:14:19 +02:00 committed by Copybot
parent d0166465a4
commit e0980d652d

View file

@ -18,16 +18,16 @@ export const FigureModalSourcePicker: FC = () => {
icon="upload"
/>
<FigureModalSourceButton
type={FigureModalSource.OTHER_PROJECT}
title={t('replace_from_another_project')}
icon="folder-open"
type={FigureModalSource.FILE_TREE}
title={t('replace_from_project_files')}
icon="archive"
/>
</div>
<div className="figure-modal-source-button-row">
<FigureModalSourceButton
type={FigureModalSource.FILE_TREE}
title={t('replace_from_project_files')}
icon="archive"
type={FigureModalSource.OTHER_PROJECT}
title={t('replace_from_another_project')}
icon="folder-open"
/>
<FigureModalSourceButton
type={FigureModalSource.FROM_URL}