mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
Link to allocations.allocation by ID reference, not by model (#17753)
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
{{#each this.history as |deployment-log|}}
|
||||
<li class="timeline-object {{if (eq deployment-log.exitCode 1) "error"}}">
|
||||
<div class="boxed-section-head is-light">
|
||||
<LinkTo @route="allocations.allocation" @model={{deployment-log.state.allocation}} class="allocation-reference">{{deployment-log.state.allocation.shortId}}</LinkTo>
|
||||
<LinkTo @route="allocations.allocation" @model={{deployment-log.state.allocation.id}} class="allocation-reference">{{deployment-log.state.allocation.shortId}}</LinkTo>
|
||||
<span><strong>{{deployment-log.type}}:</strong> {{deployment-log.message}}</span>
|
||||
<span class="pull-right">
|
||||
{{format-ts deployment-log.time}}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
<ConditionalLinkTo
|
||||
@condition={{not (eq @status "unplaced")}}
|
||||
@route="allocations.allocation"
|
||||
@model={{@allocation}}
|
||||
@model={{@allocation.id}}
|
||||
@class="represented-allocation {{@status}} {{@health}} {{@canary}}"
|
||||
@label="View allocation"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user