mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
heatmap: don't display cut cards
This commit is contained in:
parent
bef024e4eb
commit
57f48f17a0
@ -621,8 +621,8 @@ export class HeatmapRenderer {
|
|||||||
w = this.cardWidth;
|
w = this.cardWidth;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Card width should be MIN_CARD_SIZE at least
|
// Card width should be MIN_CARD_SIZE at least, but cut cards shouldn't be displayed
|
||||||
w = Math.max(w, MIN_CARD_SIZE);
|
w = w > 0 ? Math.max(w, MIN_CARD_SIZE) : 0;
|
||||||
return w;
|
return w;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user