Skip to content

Commit

Permalink
fix: changes on chart builder are saved twice when autosave is enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Dec 19, 2024
1 parent 3175591 commit b7a7115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src2/query/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export function makeQuery(workbookQuery: WorkbookQuery) {
return []
}

let _operations = [...query.currentOperations]
let _operations = copy(query.currentOperations)
for (const op of _operations) {
if (op.type !== 'source' && op.type !== 'join' && op.type !== 'union') continue
if (op.table.type !== 'query') continue
Expand Down

0 comments on commit b7a7115

Please sign in to comment.