[ML] Hide selector helper in Anomaly Explorer swimlane (#65522)
This commit is contained in:
parent
dddeec51b7
commit
ab5943c71d
|
@ -1,3 +1,7 @@
|
||||||
|
.ml-swimlane-selector {
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.ml-explorer {
|
.ml-explorer {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
|
|
@ -120,6 +120,7 @@ export class Explorer extends React.Component {
|
||||||
disableDragSelectOnMouseLeave = true;
|
disableDragSelectOnMouseLeave = true;
|
||||||
|
|
||||||
dragSelect = new DragSelect({
|
dragSelect = new DragSelect({
|
||||||
|
selectorClass: 'ml-swimlane-selector',
|
||||||
selectables: document.getElementsByClassName('sl-cell'),
|
selectables: document.getElementsByClassName('sl-cell'),
|
||||||
callback(elements) {
|
callback(elements) {
|
||||||
if (elements.length > 1 && !ALLOW_CELL_RANGE_SELECTION) {
|
if (elements.length > 1 && !ALLOW_CELL_RANGE_SELECTION) {
|
||||||
|
|
Loading…
Reference in a new issue