Skip to content

Commit 383a1e9

Browse files
committed
#513-swap-import-json-button-position
1 parent 01cee40 commit 383a1e9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/common/components/modal-dialog/modal-dialog.const.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ export const ADD_COLLECTION_TITLE = 'Add Collection';
55
export const EDIT_COLLECTION_TITLE = 'Edit Collection';
66
export const ABOUT_TITLE = 'About us';
77
export const EXPORT_MODEL_TITLE = 'Export Model';
8-
export const IMPORT_COLLECTION_TITLE = 'Import Collection';
8+
export const IMPORT_COLLECTION_TITLE = 'Import JSON Document';

src/pods/toolbar/components/import-button/import-button.component.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const ImportButton = () => {
4747
return (
4848
<ToolbarButton
4949
icon={<ImportIcon />}
50-
label="Import"
50+
label={'Import JSON'}
5151
onClick={handleImportClick}
5252
className={`${classes.button} hide-mobile`}
5353
shortcutOptions={SHORTCUTS.import}

src/pods/toolbar/toolbar.pod.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@ export const ToolbarPod: React.FC = () => {
3030
<ZoomInButton />
3131
<ZoomOutButton />
3232
<AddCollection />
33+
<ImportButton />
3334
<RelationButton />
3435
<CopyButton />
3536
<PasteButton />
3637
<UndoButton />
3738
<RedoButton />
3839
<ExportButton />
39-
<ImportButton />
4040
<DeleteButton />
4141
<CanvasSettingButton />
4242
<AboutButton />

0 commit comments

Comments
 (0)