Преглед изворни кода

dashboard: fix phantomjs panel rendering in collapsed row

Alexander Zobnin пре 7 година
родитељ
комит
05ac7d8fca
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      public/app/features/dashboard/view_state_srv.ts

+ 1 - 1
public/app/features/dashboard/view_state_srv.ts

@@ -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.
       // So in this case expand collapsed row first.
       this.toggleCollapsedPanelRow(this.state.panelId);