Skip to content

Commit

Permalink
fix(slicer): guard against undefined conversion checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
trieloff committed Jun 20, 2024
1 parent 58190ce commit f230215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rum/slicer.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function updateDataFacets(filterText, params, checkpoint) {
// source and target, the same applies to defined conversion checkpoints
// we need facets for source and target, too
Array.from(new Set([...checkpoint, ...(
isDefaultConversion ? [] : conversionSpec.checkpoint)]))
isDefaultConversion ? [] : conversionSpec.checkpoint || [])]))
.forEach((cp) => {
dataChunks.addFacet(`${cp}.source`, (bundle) => Array.from(
bundle.events
Expand Down

0 comments on commit f230215

Please sign in to comment.