Commit d0db23d0 authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

issue index 5 docmanag dan handleLoading

See merge request !815
parents 7e168c93 eae247a0
...@@ -123,7 +123,7 @@ export default class getAllDocument extends Component { ...@@ -123,7 +123,7 @@ export default class getAllDocument extends Component {
openPopUp = async (index, val, type) =>{ openPopUp = async (index, val, type) =>{
if (type === 'download') { if (type === 'download') {
let res = await fetch( let res = await fetch(
`${process.env.REACT_APP_URL_MAIN_BE}/public/document/download_document?documentName=`+this.state.docPath[val]+"&&fileType="+index[5] `${process.env.REACT_APP_URL_MAIN_BE}/public/document/download_document?documentName=`+this.state.docPath[val]+"&&fileType="+index[6]
) )
res = await res.blob() res = await res.blob()
// console.log(res) // console.log(res)
......
...@@ -302,6 +302,7 @@ export default class CreateManagementDoc extends Component { ...@@ -302,6 +302,7 @@ export default class CreateManagementDoc extends Component {
}) })
} }
} }
this.props.handleLoading(0)
} }
deleteFile(e) { deleteFile(e) {
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment