PanelEditor: remove showCategory on exit (#41174)

This commit is contained in:
Ryan McKinley 2021-11-02 00:33:36 -07:00 committed by GitHub
parent 340ed4125e
commit 231f17ab20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 = () => {