mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
[ui] Small fix to let UI actions passing use job.name instead of job.id, since namespace is passed as an explicit param afterward (#19061)
This commit is contained in:
@@ -179,7 +179,9 @@ export default class JobAdapter extends WatchableNamespaceIDs {
|
||||
}/${applicationAdapter.urlPrefix()}`;
|
||||
|
||||
const wsUrl =
|
||||
`${protocol}//${prefix}/job/${encodeURIComponent(job.get('id'))}/action` +
|
||||
`${protocol}//${prefix}/job/${encodeURIComponent(
|
||||
job.get('name')
|
||||
)}/action` +
|
||||
`?namespace=${job.get('namespace.id')}&action=${
|
||||
action.name
|
||||
}&allocID=${allocID}&task=${action.task.name}&group=${
|
||||
|
||||
Reference in New Issue
Block a user