From 9e679f411c6484a13eceeaa5a637b824f119cdc4 Mon Sep 17 00:00:00 2001 From: n1474335 Date: Mon, 27 Feb 2023 15:52:05 +0000 Subject: [PATCH] Fixed progress bug --- src/web/waiters/OutputWaiter.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/waiters/OutputWaiter.mjs b/src/web/waiters/OutputWaiter.mjs index 131e0987..de683de2 100755 --- a/src/web/waiters/OutputWaiter.mjs +++ b/src/web/waiters/OutputWaiter.mjs @@ -1217,7 +1217,7 @@ class OutputWaiter { } this.manager.tabs.updateTabHeader(inputNum, tabStr, "output"); if (this.manager.worker.recipeConfig !== undefined) { - this.manager.tabs.updateTabProgress(inputNum, this.outputs[inputNum].progress, this.manager.worker.recipeConfig.length, "output"); + this.manager.tabs.updateTabProgress(inputNum, this.outputs[inputNum]?.progress, this.manager.worker.recipeConfig.length, "output"); } const tabItem = this.manager.tabs.getTabItem(inputNum, "output");