Commit 5d22cdab by Torkel Ödegaard

click on dashboard title moves you back to dashboard instead of search

parent b8b468f7
......@@ -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');
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment