Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0ea0601

Browse files
authored
fix: handle undefined job while updating build progress (#16732)
Fixes: #15444
1 parent 91a4a98 commit 0ea0601

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/src/pages/WorkspacePage/WorkspaceBuildProgress.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export const WorkspaceBuildProgress: FC<WorkspaceBuildProgressProps> = ({
8181
useEffect(() => {
8282
const updateProgress = () => {
8383
if (
84+
job === undefined ||
8485
job.status !== "running" ||
8586
transitionStats.P50 === undefined ||
8687
transitionStats.P95 === undefined ||

0 commit comments

Comments
 (0)