Исправлена ошибка в url метода загрузки шаблона

This commit is contained in:
Александр Сироткин 2022-01-11 20:03:04 +05:00
parent 8ea3ff02af
commit fc607d883f

View File

@ -9,7 +9,7 @@ const style = {margin:4}
export const ImportExportBar = ({idWell, onImported, disabled}) =>{ export const ImportExportBar = ({idWell, onImported, disabled}) =>{
const [isImportModalVisible, setIsImportModalVisible] = useState(false) const [isImportModalVisible, setIsImportModalVisible] = useState(false)
const downloadTemplate = async () => download(`/api/well/${idWell}/wellOperations/tamplate`) const downloadTemplate = async () => download(`/api/well/${idWell}/wellOperations/template`)
const downloadExport = async () => download(`/api/well/${idWell}/wellOperations/export`) const downloadExport = async () => download(`/api/well/${idWell}/wellOperations/export`)
const onDone = () => { const onDone = () => {