diff --git a/frontend/src/components/LogViewer.vue b/frontend/src/components/LogViewer.vue index 7df262d..0a85cdf 100644 --- a/frontend/src/components/LogViewer.vue +++ b/frontend/src/components/LogViewer.vue @@ -10,13 +10,12 @@ :paginationAutoPageSize=true :row-data="null" row-selection="single" - :onSelectionChanged="openExamineLog" + :onRowSelected="openExamineLog" :supress-horisontal-scroll="true" :enable-scrolling="true" > @@ -165,8 +164,9 @@ export default { console.error(e, eventData) } }, - openExamineLog () { - const selectedRow = this.gridApi.getSelectedRows()[0]; + openExamineLog (row) { + const selectedRow = row.data + row.node.setSelected(false) this.examineLog = true const flattened = flattenObj(selectedRow) const pairs = [];