Skip to content

Commit

Permalink
fix saving lifecycle insights
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Dec 13, 2024
1 parent 9de5b73 commit c17184a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ const cachePropertiesFromQuery = (query: InsightQueryNode, cache: QueryPropertyC
/** store the insight specific filter in commonFilter */
const filterKey = filterKeyForQuery(query)
// exclude properties that shouldn't be shared
const { resultCustomizations, ...commonProperties } = query[filterKey]
const { resultCustomizations, ...commonProperties } = query[filterKey] || {}
newCache.commonFilter = { ...cache?.commonFilter, ...commonProperties }

return newCache
Expand Down

0 comments on commit c17184a

Please sign in to comment.