Skip to content

Commit

Permalink
Fix: Column Business Partner on Project window is not displayed. (a…
Browse files Browse the repository at this point in the history
…dempiere#1585)

* Fix: Columna SDN en Ventana de Proyectos no se visualiza solop-develop/frontend-core#1583

* minimal changes

* Update index.vue
  • Loading branch information
elsiosanchez authored Nov 1, 2023
1 parent 138b4db commit a7069b5
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions src/components/ADempiere/DataTable/Windows/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -205,19 +205,16 @@ export default defineComponent({
})
const headerList = computed(() => {
return props.header.filter(fieldItem => {
if (props.containerManager.isDisplayedColumn(fieldItem)) {
// const isMandatoryGenerated = props.containerManager.isMandatoryColumn(fieldItem)
// const isDisplayedDefault = props.containerManager.isDisplayedDefaultTable({
// ...fieldItem,
// isMandatory: isMandatoryGenerated
// })
// if (isDisplayedDefault) {
// return true
// }
return fieldItem.isShowedTableFromUser
}
return false
return props.containerManager.getFieldsToHidden({
parentUuid: props.parentUuid,
containerUuid: props.containerUuid,
fieldsList: props.containerManager.getFieldsList({
parentUuid: props.parentUuid,
containerUuid: props.containerUuid
}),
isTable: true
}).filter(itemField => {
return itemField.isShowedTableFromUser
})
})
Expand Down

0 comments on commit a7069b5

Please sign in to comment.