diff --git a/app/packs/src/components/contextActions/ModalExport.js b/app/packs/src/components/contextActions/ModalExport.js
index 5507689800..6cdcd44d11 100644
--- a/app/packs/src/components/contextActions/ModalExport.js
+++ b/app/packs/src/components/contextActions/ModalExport.js
@@ -220,8 +220,13 @@ export default class ModalExport extends React.Component {
-
+
diff --git a/app/packs/src/components/contextActions/ModalImport.js b/app/packs/src/components/contextActions/ModalImport.js
index dbfe85abb9..495885a6ab 100644
--- a/app/packs/src/components/contextActions/ModalImport.js
+++ b/app/packs/src/components/contextActions/ModalImport.js
@@ -38,8 +38,8 @@ export default class ModalImport extends React.Component {
NotificationActions.add(notification);
}
- handleFileDrop(attachment_file) {
- this.setState({ file: attachment_file[0] });
+ handleFileDrop(attachmentFile) {
+ this.setState({ file: attachmentFile[0] });
}
handleAttachmentRemove() {
@@ -73,7 +73,7 @@ export default class ModalImport extends React.Component {
isDisabled() {
const { file } = this.state;
- return file == null
+ return file == null;
}
render() {
@@ -87,6 +87,6 @@ export default class ModalImport extends React.Component {
- )
+ );
}
}