Skip to content

Commit

Permalink
Merge pull request #2 from EduardZaydler/fix/alias_func_bypass
Browse files Browse the repository at this point in the history
fix/alias func bypass
  • Loading branch information
clavinjune authored Jul 30, 2024
2 parents 7266f9f + 7265312 commit 9457b68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/ui/module/codemirror-metricsql/src/types/function.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
Acos,
Acosh,
AggrOverTime,
Alias,
AscentOverTime,
Asin,
Asinh,
Expand Down Expand Up @@ -905,7 +906,7 @@ export function getFunction(id: number): PromQLFunction {
}

export function isFunctionBypassed(id: number): boolean {
return id === HistogramQuantiles ||
return id === Alias || id === HistogramQuantiles ||
id === Integrate ||
id === Interpolate ||
id === KeepLastValue ||
Expand Down

0 comments on commit 9457b68

Please sign in to comment.