Просмотр исходного кода

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

GitOrigin-RevId: 600ad5e340b1bc182986283c9c6dcb2040d4009f
Domagoj Kriskovic 3 лет назад
Родитель
Сommit
e0980d652d

+ 6 - 6
services/web/frontend/js/features/source-editor/components/figure-modal/figure-modal-source-picker.tsx

@@ -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}