|
@@ -32,8 +32,16 @@ function (angular, _, $) {
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
this.update(this.getQueryStringState(), true);
|
|
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) {
|
|
DashboardViewState.prototype.needsSync = function(urlState) {
|
|
|
return _.isEqual(this.state, urlState) === false;
|
|
return _.isEqual(this.state, urlState) === false;
|
|
|
};
|
|
};
|