Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

I can't add 2+ instances of statusmap on the same dashboard #129

Closed
imilyukov opened this issue Aug 28, 2020 · 5 comments
Closed

I can't add 2+ instances of statusmap on the same dashboard #129

imilyukov opened this issue Aug 28, 2020 · 5 comments
Labels
bug Something isn't working
Milestone

Comments

@imilyukov
Copy link

imilyukov commented Aug 28, 2020

When I try to add 3 or more statusmap widgets on the same dashboard page I have an error "property name doesn't read from NULL object" and widget doesn't display

The problem is on the line:
https://github.com/flant/grafana-statusmap/blob/master/src/module.ts#L153

You should avoid to change global variable in the module:
https://github.com/flant/grafana-statusmap/blob/master/src/module.ts#L66

@diafour
Copy link
Collaborator

diafour commented Aug 28, 2020

Hi! Nice catch! It is a (not working) workaround for old versions of Grafana. What version do you use?

@imilyukov
Copy link
Author

Hi @diafour,

I have upgraded the plugin to v0.3.1.
I have 5 statusmap widgets on a dashboard, after upgrade by new version I have seen only 2

@diafour
Copy link
Collaborator

diafour commented Aug 28, 2020

What version of Grafana do you use? There are no problems with Grafana 6.7+.

@diafour
Copy link
Collaborator

diafour commented Aug 28, 2020

Fixed it. Can you update the plugin from the master branch?

@imilyukov
Copy link
Author

I use grafana of version 6.3.5.

Did you already fix it? Great! When are you planning to make a new release with this fix?

Many thanks

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants