Skip to content

Commit

Permalink
hotfix: jobId incorrectly set in the UI (#1723)
Browse files Browse the repository at this point in the history
  • Loading branch information
cka-y authored Mar 20, 2024
1 parent 876e423 commit 3fc961b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/stg_web_client_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- master
workflow_dispatch:

env:
NODE_VERSION: "20"
Expand Down
3 changes: 2 additions & 1 deletion web/client/src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -352,10 +352,11 @@
} catch (error) {
addError( typeof error === 'string'? error : generalValidationErrorMessage);
statusModal.close();
return;
return;
}
jobId = job.jobId;
await tick();
// push a url with the ID so it can be referred to later (see handleUrlParams)
history.pushState(null, '', `?report=${jobId}`);
Expand Down

0 comments on commit 3fc961b

Please sign in to comment.