Commit 2d06f17b authored by Riri Novita's avatar Riri Novita

Merge branch 'riri' into 'ENV-DEV'

chcm

See merge request !2357
parents cd6f3697 9f5803ae
...@@ -55,8 +55,6 @@ export default class EditDocumentChcm extends Component { ...@@ -55,8 +55,6 @@ export default class EditDocumentChcm extends Component {
} }
componentDidMount() { componentDidMount() {
console.log(this.props);
this.getFileSize() this.getFileSize()
if (this.props.type === 'edit') { if (this.props.type === 'edit') {
this.getDetailDoc() this.getDetailDoc()
...@@ -92,7 +90,6 @@ export default class EditDocumentChcm extends Component { ...@@ -92,7 +90,6 @@ export default class EditDocumentChcm extends Component {
getDetailDoc() { getDetailDoc() {
api.create().getDetailReportChcm(this.props.idoc).then(response => { api.create().getDetailReportChcm(this.props.idoc).then(response => {
console.log(response)
if (response.data) { if (response.data) {
if (response.ok) { if (response.ok) {
if (response.data.status === "success") { if (response.data.status === "success") {
......
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