Jelajahi Sumber

dashboard: fix phantomjs panel rendering in collapsed row

Alexander Zobnin 7 tahun lalu
induk
melakukan
05ac7d8fca
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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);