Skip to content

Commit

Permalink
[ML] fix range selection for embeddable
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Oct 13, 2020
1 parent 5c36d51 commit c28e7d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const EmbeddableSwimLaneContainer: FC<ExplorerSwimlaneContainerProps> = (
});
}
},
[swimlaneData, perPage, fromPage]
[swimlaneData, perPage, fromPage, setSelectedCells]
);

if (error) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ export function createApplyTimeRangeSelectionAction(

let [from, to] = data.times;
from = from * 1000;
// extend bounds with the interval
to = to * 1000 + interval * 1000;
to = to * 1000;

timefilter.setTime({
from: moment(from),
Expand Down

0 comments on commit c28e7d3

Please sign in to comment.