[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:
Phil Renaud
2023-11-10 10:55:00 -05:00
committed by GitHub
parent c17333d74a
commit 62007e3b18

View File

@@ -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=${