mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
click on dashboard title moves you back to dashboard instead of search
This commit is contained in:
parent
b8b468f733
commit
5d22cdab28
@ -44,7 +44,7 @@ export class GeneralTab extends PureComponent<Props> {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<EditorTabBody heading="Basic Panel Options" toolbarItems={[]}>
|
||||
<EditorTabBody heading="Panel Options" toolbarItems={[]}>
|
||||
<div ref={element => (this.element = element)} />
|
||||
</EditorTabBody>
|
||||
);
|
||||
|
@ -77,7 +77,7 @@ export class PanelEditor extends PureComponent<PanelEditorProps> {
|
||||
const tabs = [
|
||||
{ id: 'queries', text: 'Queries' },
|
||||
{ id: 'visualization', text: 'Visualization' },
|
||||
{ id: 'advanced', text: 'Advanced' },
|
||||
{ id: 'advanced', text: 'Panel Options' },
|
||||
];
|
||||
|
||||
if (config.alertingEnabled && plugin.id === 'graph') {
|
||||
|
@ -74,6 +74,11 @@ export class DashNavCtrl {
|
||||
}
|
||||
|
||||
showSearch() {
|
||||
if (this.dashboard.meta.fullscreen) {
|
||||
this.close();
|
||||
return;
|
||||
}
|
||||
|
||||
appEvents.emit('show-dash-search');
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user