Skip to content

Commit 969092c

Browse files
authored
fix: always return options (#5313)
1 parent 3399475 commit 969092c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/shared/contexts/query.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,11 @@ const updateWindowPeriod = (
365365
node?.property?.name === 'windowPeriod'
366366
).length
367367
) {
368-
return
368+
if (mode === 'ast') {
369+
return optionAST
370+
}
371+
372+
return options
369373
}
370374
try {
371375
const _optionAST = JSON.parse(JSON.stringify(optionAST))

0 commit comments

Comments
 (0)