Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix: Popover Data (#2533)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricargame authored Jul 30, 2024
1 parent ff9f600 commit 255d6b1
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions src/views/ADempiere/ReportViewerEngine/reportPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,13 @@ export default defineComponent({
}
function activatePopover(row, column) {
event.preventDefault()
dataList.value.forEach(data => {
Object.values(data.cells).forEach(dataCell => {
if (dataCell && 'sum_value' in dataCell) {
selectedColumn.value = column.columnKey
selectedRow.value = row
dataModal.value = dataCell
showPopover.value = true
}
})
Object.values(row.cells).forEach(dataCell => {
if (dataCell && 'sum_value' in dataCell) {
selectedColumn.value = column.columnKey
selectedRow.value = row
dataModal.value = dataCell
showPopover.value = true
}
})
}
function displayLabel(prop, row) {
Expand Down

0 comments on commit 255d6b1

Please sign in to comment.