Commit cdb4b3cc by Torkel Ödegaard

Panel: fix fullscreen/edit view and page refresh when panel is in collapsed/hidden row, Fixes #992

parent e5bb7f7c
......@@ -32,8 +32,16 @@ function (angular, _, $) {
});
this.update(this.getQueryStringState(), true);
this.expandRowForPanel();
}
DashboardViewState.prototype.expandRowForPanel = function() {
if (!this.state.panelId) { return; }
var panelInfo = this.$scope.dashboard.getPanelInfoById(this.state.panelId);
panelInfo.row.collapse = false;
};
DashboardViewState.prototype.needsSync = function(urlState) {
return _.isEqual(this.state, urlState) === false;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment