mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PanelEditor: remove showCategory on exit (#41174)
This commit is contained in:
@@ -127,6 +127,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
|
|||||||
locationService.partial({
|
locationService.partial({
|
||||||
editPanel: null,
|
editPanel: null,
|
||||||
tab: null,
|
tab: null,
|
||||||
|
showCategory: null,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -421,7 +422,7 @@ export class PanelEditorUnconnected extends PureComponent<Props> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
onGoBackToDashboard = () => {
|
onGoBackToDashboard = () => {
|
||||||
locationService.partial({ editPanel: null, tab: null });
|
locationService.partial({ editPanel: null, tab: null, showCategory: null });
|
||||||
};
|
};
|
||||||
|
|
||||||
onConfirmAndDismissLibarayPanelModel = () => {
|
onConfirmAndDismissLibarayPanelModel = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user