From e6dac0d008c6553ba70a9c77724c2b598511165a Mon Sep 17 00:00:00 2001 From: nh9378 Date: Thu, 7 Sep 2023 13:33:28 +0000 Subject: [PATCH] eslint fixes --- app/packs/src/components/contextActions/ModalExport.js | 9 +++++++-- app/packs/src/components/contextActions/ModalImport.js | 8 ++++---- 2 files changed, 11 insertions(+), 6 deletions(-) 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 {
- + XLSX Export SDF Export 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 {
- ) + ); } }