Dashboard: when opening search or dashboard settings, click the icon again will now hide the view, Closes #836
This commit is contained in:
@@ -51,9 +51,12 @@ function (angular, $) {
|
||||
scope.onAppEvent('hide-dash-editor', hideEditorPane);
|
||||
|
||||
scope.onAppEvent('show-dash-editor', function(evt, payload) {
|
||||
hideEditorPane();
|
||||
if (lastEditor === payload.src) {
|
||||
hideEditorPane();
|
||||
return;
|
||||
}
|
||||
|
||||
if (lastEditor === payload.src) { return; }
|
||||
hideEditorPane();
|
||||
|
||||
scope.exitFullscreen();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user