Skip to content

Commit 114cf57

Browse files
fix: handle undefined job while updating build progress (cherry-pick #16732) (#16740)
Cherry-picked fix: handle undefined job while updating build progress (#16732) Fixes: #15444 Co-authored-by: Marcin Tojek <mtojek@users.noreply.github.com>
1 parent 36186bb commit 114cf57

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/src/pages/WorkspacePage/WorkspaceBuildProgress.tsx

Lines changed: 1 addition & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy