Skip to content

Commit

Permalink
Fix multiple panels
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikesch-mp committed Apr 22, 2017
1 parent 63c552e commit e09f8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Grafana/ProvidedHook/Grapher.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,10 @@ public function getPreviewHtml(MonitoredObject $object)
}
$menu = substr($menu, 0, -3);
$menu .= '</div>';
$html = "";

foreach(explode(',' , $this->panelId) as $panelid) {

$html = "";
$this->panelId = $panelid;

if ($this->enableLink == "no")
Expand Down

0 comments on commit e09f8ea

Please sign in to comment.