Skip to content
Snippets Groups Projects
Unverified Commit cc6d7917 authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix double history and 2D breakout brushing

parent f11f98e7
Branches
Tags
No related merge requests found
......@@ -235,6 +235,8 @@ export const breakout = (card, breakout, tableMetadata) => {
const MIN_INTERVALS = 4;
export const updateDateTimeFilter = (card, column, start, end) => {
card = clone(card);
let fieldRef = getFieldRefFromColumn(column);
start = moment(start);
end = moment(end);
......
......@@ -1054,7 +1054,6 @@ export default function lineAreaBar(element, {
} else {
onChangeCardAndRun(updateNumericFilter(card, column, start, end));
}
onChangeCardAndRun(card);
}
}
......
......@@ -37,6 +37,8 @@ export function initBrush(parent, child, onBrushChange, onBrushEnd) {
// emit "onBrushChange" event
onBrushChange(range);
// fade deselected bars
parent.fadeDeselectedArea();
// return filters unmodified
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment