mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
ux(dashboard): added more shortcusts to v/edit panel, #6442
This commit is contained in:
@@ -83,6 +83,13 @@ function (angular, _, $) {
|
||||
};
|
||||
|
||||
DashboardViewState.prototype.update = function(state) {
|
||||
// implement toggle logic
|
||||
if (this.state.fullscreen && state.fullscreen) {
|
||||
if (this.state.edit === state.edit) {
|
||||
state.fullscreen = !state.fullscreen;
|
||||
}
|
||||
}
|
||||
|
||||
// remember if editStateChanged
|
||||
this.editStateChanged = state.edit !== this.state.edit;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user