Add delete function into Documents

This commit is contained in:
Фролов 2021-08-20 15:28:13 +05:00
parent 43e69021d4
commit 7435bb86b5

View File

@ -39,8 +39,8 @@ export default function DocumentsTemplate({ idCategory, idWell }) {
update() update()
} }
const handleFileDelete = (file) => { const handleFileDelete = async (file) => {
//FileService.delete(idWell, file.id) await FileService.delete(idWell, file.id)
update() update()
} }