Skip to content

Commit 16255a9

Browse files
committed
update
1 parent eb30f53 commit 16255a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/app/views/explore/contexts/pageParamsContext/visualizes.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,9 @@ export function updateVisualizeAggregate({
174174

175175
let newArgument = oldArgument;
176176
if (functionDefinition) {
177-
const hasParameters =
177+
const shouldHaveParameters =
178178
functionDefinition.parameters && functionDefinition.parameters.length > 0;
179-
if (!hasParameters) {
179+
if (!shouldHaveParameters) {
180180
newArgument = '';
181181
}
182182
// TODO: check if old parameter is valid for new function

0 commit comments

Comments
 (0)