We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf62474 commit 8746042Copy full SHA for 8746042
packages/timescale/src/components/index.ts
@@ -45,7 +45,7 @@ function IntervalBox(props: {
45
return h(SizeAwareLabel, {
46
key: interval.oid,
47
style,
48
- className: "interval-box",
+ className: "interval-box " + (onClick && interval.int_id != null ? "clickable" : ""),
49
labelClassName: "interval-label",
50
label: labelText,
51
onVisibilityChanged(viz) {
packages/timescale/src/index.ts
@@ -88,7 +88,6 @@ function Timescale(props: TimescaleProps) {
88
const className = classNames(
89
orientation,
90
"increase-" + increaseDirection,
91
- onClick ? "clickable" : null,
92
);
93
const length = absoluteAgeScale ? (l ?? 6000) : null;
94
0 commit comments