temp: namespace model refact
This commit is contained in:
parent
6bd33d3fb9
commit
4f802449dc
|
@ -11,7 +11,7 @@ export default class JobRoute extends Route {
|
|||
@service token;
|
||||
|
||||
serialize(model) {
|
||||
return { job_name: model.get('plainId') };
|
||||
return { job_name: JSON.parse(model.get('id')).join('@') };
|
||||
}
|
||||
|
||||
model(params, transition) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<td data-test-job-name>
|
||||
<LinkTo
|
||||
@route="jobs.job"
|
||||
@model={{this.job.plainId}}
|
||||
@model={{this.job}}
|
||||
@query={{hash namespace=this.job.namespace.id}}
|
||||
class="is-primary"
|
||||
>
|
||||
|
@ -47,7 +47,10 @@
|
|||
</em>
|
||||
{{/if}}
|
||||
{{else}}
|
||||
<AllocationStatusBar @allocationContainer={{this.job}} @isNarrow={{true}} />
|
||||
<AllocationStatusBar
|
||||
@allocationContainer={{this.job}}
|
||||
@isNarrow={{true}}
|
||||
/>
|
||||
{{/if}}
|
||||
</div>
|
||||
</td>
|
|
@ -25,7 +25,7 @@ module.exports = function (environment) {
|
|||
|
||||
APP: {
|
||||
blockingQueries: true,
|
||||
mirageScenario: 'topoMedium',
|
||||
mirageScenario: 'smallCluster',
|
||||
mirageWithNamespaces: false,
|
||||
mirageWithTokens: true,
|
||||
mirageWithRegions: true,
|
||||
|
|
Loading…
Reference in a new issue