Commit 013a1abb by Torkel Ödegaard Committed by GitHub

Graphite: remove feature that moves alias function last (#17791)

parent 5f3a71bc
......@@ -131,18 +131,6 @@ export default class GraphiteQuery {
addFunction(newFunc) {
this.functions.push(newFunc);
this.moveAliasFuncLast();
}
moveAliasFuncLast() {
const aliasFunc: any = _.find(this.functions, func => {
return func.def.name.startsWith('alias');
});
if (aliasFunc) {
this.functions = _.without(this.functions, aliasFunc);
this.functions.push(aliasFunc);
}
}
addFunctionParameter(func, value) {
......
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