Commit f041928e by Torkel Ödegaard

Additional query editor row tweaks

parent cc4564cf
...@@ -128,6 +128,10 @@ export class QueryEditorRow extends PureComponent<Props, State> { ...@@ -128,6 +128,10 @@ export class QueryEditorRow extends PureComponent<Props, State> {
angularScope.toggleEditorMode(); angularScope.toggleEditorMode();
this.angularQueryEditor.digest(); this.angularQueryEditor.digest();
} }
if (this.state.isCollapsed) {
this.setState({ isCollapsed: false });
}
}; };
get hasTextEditMode() { get hasTextEditMode() {
......
...@@ -391,6 +391,10 @@ export class GraphiteQueryCtrl extends QueryCtrl { ...@@ -391,6 +391,10 @@ export class GraphiteQueryCtrl extends QueryCtrl {
this.paused = false; this.paused = false;
this.panelCtrl.refresh(); this.panelCtrl.refresh();
} }
getCollapsedText() {
return this.target.target;
}
} }
function mapToDropdownOptions(results) { function mapToDropdownOptions(results) {
......
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