Skip to content

Commit

Permalink
Fix bug of undefined tooltip when all plugin layers are empty
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Ohlsen <[email protected]>
  • Loading branch information
ohltyler committed Jul 14, 2023
1 parent 0ab3233 commit e31b7a9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/plugins/vis_augmenter/public/vega/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ export const addPointInTimeEventsLayersToTable = (
});

visLayers.forEach((visLayer: PointInTimeEventsVisLayer) => {
if (isEmpty(visLayer.events)) return;
const visLayerColumnId = `${visLayer.pluginEventType}`;

// Add placeholder values of 0 for every event value. This is so the tooltip
Expand Down

0 comments on commit e31b7a9

Please sign in to comment.