Skip to content

Commit

Permalink
fix(links): Diff tooltip not showing difference values
Browse files Browse the repository at this point in the history
  • Loading branch information
billyc committed Jan 25, 2022
1 parent 2858907 commit 74b4c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/links-gl/LinkLayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default function Component({
const roundValue = Math.round(value * 10000.0) / 10000.0
const roundDiff = diff ? Math.round(diff * 10000.0) / 10000.0 : diff

const baseElement = baseValue ? <p>+/- Base: {roundDiff}</p> : null
const baseElement = baseValue ? `<p>+/- Base: ${roundDiff}</p>` : null

return {
html: `
Expand Down

0 comments on commit 74b4c79

Please sign in to comment.