mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Additional query editor row tweaks
This commit is contained in:
@@ -128,6 +128,10 @@ export class QueryEditorRow extends PureComponent<Props, State> {
|
||||
angularScope.toggleEditorMode();
|
||||
this.angularQueryEditor.digest();
|
||||
}
|
||||
|
||||
if (this.state.isCollapsed) {
|
||||
this.setState({ isCollapsed: false });
|
||||
}
|
||||
};
|
||||
|
||||
get hasTextEditMode() {
|
||||
|
||||
@@ -391,6 +391,10 @@ export class GraphiteQueryCtrl extends QueryCtrl {
|
||||
this.paused = false;
|
||||
this.panelCtrl.refresh();
|
||||
}
|
||||
|
||||
getCollapsedText() {
|
||||
return this.target.target;
|
||||
}
|
||||
}
|
||||
|
||||
function mapToDropdownOptions(results) {
|
||||
|
||||
Reference in New Issue
Block a user