Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into dexamundsen/primary
Browse files Browse the repository at this point in the history
  • Loading branch information
dexamundsen committed Feb 4, 2025
2 parents 8f56ac4 + 45d85e5 commit 713549f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ gradle.ext {
}

// This line needs to match the VERSION_LINE_MATCH regex in the bump-tag-publish GHA.
gradle.ext.tanagraVersion = "0.0.748-SNAPSHOT"
gradle.ext.tanagraVersion = "0.0.750-SNAPSHOT"
2 changes: 1 addition & 1 deletion ui/src/data/source.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ function processEntitiesResponse(
} else {
ancestors = path
.split(".")
.map((id) => (typeof data.key === "bigint" ? String(id) : id));
.map((id) => (typeof data.key === "bigint" ? BigInt(id) : id));
}
}

Expand Down
8 changes: 1 addition & 7 deletions ui/src/viz/viz.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,7 @@ export function processFilterCountValues(
let name: string | undefined = undefined;
let numericId: number | undefined = undefined;
let stringId: string | undefined = undefined;
if (a.numericBucketing) {
if (typeof value !== "number") {
throw new Error(
`Numeric bucketing cannot be applied to non-numeric ${value}.`
);
}

if (a.numericBucketing && typeof value === "number") {
const thresholds = a.numericBucketing.thresholds ?? [];
if (!thresholds.length) {
const intervals = a.numericBucketing.intervals;
Expand Down

0 comments on commit 713549f

Please sign in to comment.