[ui] Reinstate Meta and Payload sections to Parameterized Child Jobs (#13473)
* Shift meta off job.definition and decodedPayload alias to passed arg * Changelog
This commit is contained in:
parent
b7a8318eac
commit
2e6e95e78c
|
@ -0,0 +1,3 @@
|
||||||
|
```release-note:bug
|
||||||
|
ui: Fixed a bug where dispatched children of parameterized jobs wouldn't display metadata or payloads
|
||||||
|
``
|
|
@ -3,7 +3,7 @@ import { alias } from '@ember/object/computed';
|
||||||
import Component from '@glimmer/component';
|
import Component from '@glimmer/component';
|
||||||
|
|
||||||
export default class ParameterizedChild extends Component {
|
export default class ParameterizedChild extends Component {
|
||||||
@alias('job.decodedPayload') payload;
|
@alias('args.job.decodedPayload') payload;
|
||||||
|
|
||||||
@computed('payload')
|
@computed('payload')
|
||||||
get payloadJSON() {
|
get payloadJSON() {
|
||||||
|
|
|
@ -24,12 +24,12 @@
|
||||||
<jobPage.ui.TaskGroups @sortProperty={{@sortProperty}} @sortDescending={{@sortDescending}} />
|
<jobPage.ui.TaskGroups @sortProperty={{@sortProperty}} @sortDescending={{@sortDescending}} />
|
||||||
<jobPage.ui.RecentAllocations />
|
<jobPage.ui.RecentAllocations />
|
||||||
<div class="boxed-section">
|
<div class="boxed-section">
|
||||||
<div class="boxed-section-head">
|
{{#if @job.meta}}
|
||||||
Meta
|
|
||||||
</div>
|
|
||||||
{{#if @job.definition.Meta}}
|
|
||||||
<jobPage.ui.Meta />
|
<jobPage.ui.Meta />
|
||||||
{{else}}
|
{{else}}
|
||||||
|
<div class="boxed-section-head">
|
||||||
|
Meta
|
||||||
|
</div>
|
||||||
<div class="boxed-section-body">
|
<div class="boxed-section-body">
|
||||||
<div data-test-empty-meta-message class="empty-message">
|
<div data-test-empty-meta-message class="empty-message">
|
||||||
<h3 class="empty-message-headline">
|
<h3 class="empty-message-headline">
|
||||||
|
|
Loading…
Reference in New Issue