diff --git a/src/pages/WellOperations/ImportExportBar.jsx b/src/pages/WellOperations/ImportExportBar.jsx index 11addca..7357fa5 100644 --- a/src/pages/WellOperations/ImportExportBar.jsx +++ b/src/pages/WellOperations/ImportExportBar.jsx @@ -1,4 +1,4 @@ -import { Button, Tooltip, Modal } from "antd"; +import { Button, Tooltip, Modal } from 'antd' import {useState} from 'react' import { FileOutlined, ImportOutlined, ExportOutlined } from '@ant-design/icons' import { download } from '../../components/factory' @@ -6,7 +6,7 @@ import { ImportOperations } from './ImportOperations' const style = {margin:4} -export const ImportExportBar = ({idWell, onImported}) =>{ +export const ImportExportBar = ({idWell, onImported, disabled}) =>{ const [isImportModalVisible, setIsImportModalVisible] = useState(false) const downloadTemplate = async () => download(`/api/well/${idWell}/wellOperations/tamplate`) @@ -19,29 +19,32 @@ export const ImportExportBar = ({idWell, onImported}) =>{ } return <> - +