mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 20:24:18 -06:00
Merge pull request #15494 from grafana/minor-tweaks-panel-edit
Removed primary class from Add Query button, and changed name of panel options tab
This commit is contained in:
commit
a6cae5b2b8
@ -44,7 +44,7 @@ export class GeneralTab extends PureComponent<Props> {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<EditorTabBody heading="Panel Options" toolbarItems={[]}>
|
||||
<EditorTabBody heading="General" toolbarItems={[]}>
|
||||
<div ref={element => (this.element = element)} />
|
||||
</EditorTabBody>
|
||||
);
|
||||
|
@ -45,7 +45,7 @@ interface PanelEditorTab {
|
||||
const panelEditorTabTexts = {
|
||||
[PanelEditorTabIds.Queries]: 'Queries',
|
||||
[PanelEditorTabIds.Visualization]: 'Visualization',
|
||||
[PanelEditorTabIds.Advanced]: 'Panel Options',
|
||||
[PanelEditorTabIds.Advanced]: 'General',
|
||||
[PanelEditorTabIds.Alert]: 'Alert',
|
||||
};
|
||||
|
||||
|
@ -135,7 +135,7 @@ export class QueriesTab extends PureComponent<Props, State> {
|
||||
<DataSourcePicker datasources={this.datasources} onChange={this.onChangeDataSource} current={currentDS} />
|
||||
<div className="flex-grow-1" />
|
||||
{!isAddingMixed && (
|
||||
<button className="btn navbar-button navbar-button--primary" onClick={this.onAddQueryClick}>
|
||||
<button className="btn navbar-button" onClick={this.onAddQueryClick}>
|
||||
Add Query
|
||||
</button>
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user