mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Geomap: clear features when no-data is returned (#44748)
This commit is contained in:
parent
58a71c7e91
commit
d8df08ce5d
@ -112,6 +112,7 @@ export const markersLayer: MapLayerRegistryItem<MarkersConfig> = {
|
|||||||
legend: legend,
|
legend: legend,
|
||||||
update: (data: PanelData) => {
|
update: (data: PanelData) => {
|
||||||
if (!data.series?.length) {
|
if (!data.series?.length) {
|
||||||
|
source.clear();
|
||||||
return; // ignore empty
|
return; // ignore empty
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user