Skip to content

Commit

Permalink
Pass down the full slice string and enabling the click event.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 273670542
  • Loading branch information
tf-model-analysis-team committed Oct 9, 2019
1 parent 6f3463b commit 7a7c0a6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ export const SelectEventMixin = (baseClass) => class extends baseClass {
const selectedRow = eventSource['selection'][0]['row'];
const tableData = eventSource['data']['getDataTable']();
selectedSlice = tableData[selectedRow][0];
} else if (eventSource.tagName == 'TFMA-SLICE-OVERVIEW') {
} else if (
eventSource.tagName == 'TFMA-SLICE-OVERVIEW' ||
eventSource.tagName == 'FAIRNESS-BOUNDED-VALUE-BAR-CHART') {
selectedSlice = selectEvent['detail'];
}

Expand Down

0 comments on commit 7a7c0a6

Please sign in to comment.