Skip to content

Commit

Permalink
Actions pass job id instead of job name
Browse files Browse the repository at this point in the history
  • Loading branch information
philrenaud committed Jul 11, 2024
1 parent 622995d commit baa18d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/23553.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:bug
ui: Actions run from jobs with explicit name properties now work from the web UI
```
2 changes: 1 addition & 1 deletion ui/app/adapters/job.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ export default class JobAdapter extends WatchableNamespaceIDs {

const wsUrl =
`${protocol}//${prefix}/job/${encodeURIComponent(
job.get('name')
job.get('plainId')
)}/action` +
`?namespace=${job.get('namespace.id')}&action=${
action.name
Expand Down

0 comments on commit baa18d1

Please sign in to comment.