Commit 6d89060d authored by rifkaki's avatar rifkaki

doc manag issue prod

parent 981c5e09
......@@ -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