Commit f041928e by Torkel Ödegaard

Additional query editor row tweaks

parent cc4564cf
......@@ -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) {
......
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