PanelEditor: remove showCategory on exit (#41174)

pull/41179/head
Ryan McKinley 4 years ago committed by GitHub
parent 340ed4125e
commit 231f17ab20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx

@ -127,6 +127,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
locationService.partial({
editPanel: null,
tab: null,
showCategory: null,
});
};
@ -421,7 +422,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
}
onGoBackToDashboard = () => {
locationService.partial({ editPanel: null, tab: null });
locationService.partial({ editPanel: null, tab: null, showCategory: null });
};
onConfirmAndDismissLibarayPanelModel = () => {

Loading…
Cancel
Save