mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
dashboard: fix phantomjs panel rendering in collapsed row
This commit is contained in:
@@ -90,7 +90,7 @@ export class DashboardViewState {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.state.fullscreen && this.state.panelId) {
|
if ((this.state.fullscreen || this.dashboard.meta.soloMode) && this.state.panelId) {
|
||||||
// Trying to render panel in fullscreen when it's in the collapsed row causes an issue.
|
// Trying to render panel in fullscreen when it's in the collapsed row causes an issue.
|
||||||
// So in this case expand collapsed row first.
|
// So in this case expand collapsed row first.
|
||||||
this.toggleCollapsedPanelRow(this.state.panelId);
|
this.toggleCollapsedPanelRow(this.state.panelId);
|
||||||
|
|||||||
Reference in New Issue
Block a user