Skip to content

Commit 3fc961b

Browse files
authored
hotfix: jobId incorrectly set in the UI (#1723)
1 parent 876e423 commit 3fc961b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/stg_web_client_merge.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- master
7+
workflow_dispatch:
78

89
env:
910
NODE_VERSION: "20"

web/client/src/routes/+page.svelte

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,10 +352,11 @@
352352
} catch (error) {
353353
addError( typeof error === 'string'? error : generalValidationErrorMessage);
354354
statusModal.close();
355-
return;
355+
return;
356356
}
357357
358358
jobId = job.jobId;
359+
await tick();
359360
360361
// push a url with the ID so it can be referred to later (see handleUrlParams)
361362
history.pushState(null, '', `?report=${jobId}`);

0 commit comments

Comments
 (0)