Skip to content

Commit ee299b0

Browse files
committed
set override duration correctly
1 parent 7d81d5d commit ee299b0

File tree

1 file changed

+1
-1
lines changed
  • apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam

1 file changed

+1
-1
lines changed

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ function applySpanOverrides(span: Span, spanOverrides?: SpanOverride): Span {
272272
newSpan.isCancelled = false;
273273
}
274274

275-
if (spanOverrides.duration) {
275+
if (typeof spanOverrides.duration !== "undefined") {
276276
newSpan.duration = spanOverrides.duration;
277277
}
278278

0 commit comments

Comments
 (0)