We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb30f53 commit 16255a9Copy full SHA for 16255a9
static/app/views/explore/contexts/pageParamsContext/visualizes.tsx
@@ -174,9 +174,9 @@ export function updateVisualizeAggregate({
174
175
let newArgument = oldArgument;
176
if (functionDefinition) {
177
- const hasParameters =
+ const shouldHaveParameters =
178
functionDefinition.parameters && functionDefinition.parameters.length > 0;
179
- if (!hasParameters) {
+ if (!shouldHaveParameters) {
180
newArgument = '';
181
}
182
// TODO: check if old parameter is valid for new function
0 commit comments