Skip to content

Commit

Permalink
Revert "chore(cleanup): removing redundant rendering logic in telemet…
Browse files Browse the repository at this point in the history
…ry pixel (apache#26293)"

This reverts commit eb4b412.
  • Loading branch information
sadpandajoe committed Dec 22, 2023
1 parent 64057bf commit 9bf5ef1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion superset-frontend/src/components/TelemetryPixel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ const TelemetryPixel = ({
build = 'unknownBuild',
}: TelemetryPixelProps): React.ReactElement | null => {
const pixelPath = `https://apachesuperset.gateway.scarf.sh/pixel/${PIXEL_ID}/${version}/${sha}/${build}`;
return process.env.SCARF_ANALYTICS === 'false' ? null : (
return process.env.SCARF_ANALYTICS === 'false' ||
process.env.SCARF_ANALYTICS === 'false' ? null : (
<img
referrerPolicy="no-referrer-when-downgrade"
src={pixelPath}
Expand Down

0 comments on commit 9bf5ef1

Please sign in to comment.