Skip to content

Commit

Permalink
fix(telemetry): include workspace and dataset names that includes any…
Browse files Browse the repository at this point in the history
… of the well known names
  • Loading branch information
bjoerge committed Nov 22, 2024
1 parent 0311920 commit 55918a2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ export function StudioTelemetryProvider(props: {children: ReactNode; config: Con
}

function getWellKnownName(name: string) {
return WELL_KNOWN_NAMES.includes(name.toLowerCase()) ? name : undefined
return WELL_KNOWN_NAMES.find((wellKnownName) => name.toLowerCase().includes(wellKnownName))
}

0 comments on commit 55918a2

Please sign in to comment.