mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Actions pass job id instead of job name (#23553)
This commit is contained in:
3
.changelog/23553.txt
Normal file
3
.changelog/23553.txt
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
```release-note:bug
|
||||||
|
ui: Actions run from jobs with explicit name properties now work from the web UI
|
||||||
|
```
|
||||||
@@ -192,7 +192,7 @@ export default class JobAdapter extends WatchableNamespaceIDs {
|
|||||||
|
|
||||||
const wsUrl =
|
const wsUrl =
|
||||||
`${protocol}//${prefix}/job/${encodeURIComponent(
|
`${protocol}//${prefix}/job/${encodeURIComponent(
|
||||||
job.get('name')
|
job.get('plainId')
|
||||||
)}/action` +
|
)}/action` +
|
||||||
`?namespace=${job.get('namespace.id')}&action=${
|
`?namespace=${job.get('namespace.id')}&action=${
|
||||||
action.name
|
action.name
|
||||||
|
|||||||
Reference in New Issue
Block a user