Commit 26a17f95 authored by Rifka Kurnia's avatar Rifka Kurnia

Merge branch 'rifka' into 'master'

doc manag issue prod

See merge request !1269
parents 981c5e09 6d89060d
......@@ -57,6 +57,7 @@ export default class CreateManagementDoc extends Component {
this.getPeriode()
this.getMonth()
this.getFileSize()
console.log(this.props.allsubcoCreate)
}
getFileSize() {
......@@ -134,7 +135,7 @@ export default class CreateManagementDoc extends Component {
let data = response.data.data
let typeData = []
data.map((item) => {
if (String(item.value).includes('Manual')){
if (String(item.value).toLocaleLowerCase().includes('manual book tia')){
if( this.props.allsubcoCreate ){
typeData.push( {
document_category_id: item.setting_id,
......@@ -148,7 +149,7 @@ export default class CreateManagementDoc extends Component {
})
}
})
// console.log(typeData)
console.log(typeData)
let typeProps = {
options: typeData.sort((a, b) => a.document_category_id - b.document_category_id),
getOptionLabel: (option) => option.document_category_name,
......
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