Commit 782fad8f authored by Rifka Kurnia Irfiana's avatar Rifka Kurnia Irfiana

ubah ui docmanag

parent 7aa7ac1d
...@@ -58,6 +58,7 @@ export default class EditManagementDoc extends Component { ...@@ -58,6 +58,7 @@ export default class EditManagementDoc extends Component {
this.getFileSize() this.getFileSize()
if (this.props.type === 'edit') { if (this.props.type === 'edit') {
this.getDetailDoc() this.getDetailDoc()
console.log(this.props)
} }
} }
...@@ -104,7 +105,8 @@ export default class EditManagementDoc extends Component { ...@@ -104,7 +105,8 @@ export default class EditManagementDoc extends Component {
created: data.created, created: data.created,
updated: data.updated === null ? "" : data.updated, updated: data.updated === null ? "" : data.updated,
loadUpload: true, loadUpload: true,
name: data.values name: data.values,
disabledPeriode: data.values === 'Manual Book TIA 4.0' ? true : false
}, () => { }, () => {
this.getDataCompany() this.getDataCompany()
this.getDataDocument() this.getDataDocument()
......
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