From 4f802449dc635eb73c9dce2299d1463a314a0f67 Mon Sep 17 00:00:00 2001 From: Jai Bhagat Date: Fri, 14 Jan 2022 10:11:22 -0500 Subject: [PATCH] temp: namespace model refact --- ui/app/routes/jobs/job.js | 2 +- ui/app/templates/components/job-row.hbs | 7 +++++-- ui/config/environment.js | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ui/app/routes/jobs/job.js b/ui/app/routes/jobs/job.js index a39c16183..584a85e3c 100644 --- a/ui/app/routes/jobs/job.js +++ b/ui/app/routes/jobs/job.js @@ -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) { diff --git a/ui/app/templates/components/job-row.hbs b/ui/app/templates/components/job-row.hbs index eeeb523e4..ce8b9e731 100644 --- a/ui/app/templates/components/job-row.hbs +++ b/ui/app/templates/components/job-row.hbs @@ -1,7 +1,7 @@ @@ -47,7 +47,10 @@ {{/if}} {{else}} - + {{/if}} \ No newline at end of file diff --git a/ui/config/environment.js b/ui/config/environment.js index d0bfae307..4fc810045 100644 --- a/ui/config/environment.js +++ b/ui/config/environment.js @@ -25,7 +25,7 @@ module.exports = function (environment) { APP: { blockingQueries: true, - mirageScenario: 'topoMedium', + mirageScenario: 'smallCluster', mirageWithNamespaces: false, mirageWithTokens: true, mirageWithRegions: true,