mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Fixes to scheduling-filtering-in-ui (#17244)
This commit is contained in:
@@ -326,7 +326,7 @@ func (a *Allocation) Stub() *AllocationListStub {
|
||||
TaskStates: a.TaskStates,
|
||||
DeploymentStatus: a.DeploymentStatus,
|
||||
FollowupEvalID: a.FollowupEvalID,
|
||||
NextAllocation: a.JobID,
|
||||
NextAllocation: a.NextAllocation,
|
||||
RescheduleTracker: a.RescheduleTracker,
|
||||
PreemptedAllocations: a.PreemptedAllocations,
|
||||
PreemptedByAllocation: a.PreemptedByAllocation,
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
@condition={{this.shouldLinkToAllocations}}
|
||||
@route="jobs.job.allocations"
|
||||
@model={{@job}}
|
||||
@query={{hash scheduling=(concat '["has-been-rescheduled"]') version=(concat '[' @job.latestDeployment.versionNumber ']')}}
|
||||
@query={{hash scheduling='["has-been-rescheduled"]' version=(concat '[' @job.latestDeployment.versionNumber ']')}}
|
||||
@label="View Allocations"
|
||||
@class="failed-or-lost-link"
|
||||
>
|
||||
@@ -26,7 +26,7 @@
|
||||
@condition={{this.shouldLinkToAllocations}}
|
||||
@route="jobs.job.allocations"
|
||||
@model={{@job}}
|
||||
@query={{hash scheduling=(concat '["has-been-restarted"]') version=(concat '[' @job.latestDeployment.versionNumber ']')}}
|
||||
@query={{hash scheduling='["has-been-restarted"]' version=(concat '[' @job.latestDeployment.versionNumber ']')}}
|
||||
@label="View Allocations"
|
||||
@class="failed-or-lost-link"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user