From fa3310083e7f91a7c44eac9dff5259c87f67bb3c Mon Sep 17 00:00:00 2001 From: Jai <41024828+ChaiWithJai@users.noreply.github.com> Date: Tue, 16 Aug 2022 09:52:31 -0400 Subject: [PATCH] remove unnecessary query parameters in `LinkTo` components (#14117) * chore: remove query param in topology * chore: remove query param in plugin alloc * chore: remove query param in parameterized child * chore: remove query param in periodic child --- ui/app/templates/components/job-page/parameterized-child.hbs | 1 - ui/app/templates/components/job-page/periodic-child.hbs | 1 - ui/app/templates/components/plugin-allocation-row.hbs | 2 +- ui/app/templates/topology.hbs | 1 - 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/ui/app/templates/components/job-page/parameterized-child.hbs b/ui/app/templates/components/job-page/parameterized-child.hbs index d32d29abe..49a65c67e 100644 --- a/ui/app/templates/components/job-page/parameterized-child.hbs +++ b/ui/app/templates/components/job-page/parameterized-child.hbs @@ -11,7 +11,6 @@ {{@job.parent.name}} diff --git a/ui/app/templates/components/job-page/periodic-child.hbs b/ui/app/templates/components/job-page/periodic-child.hbs index e4658462d..316492680 100644 --- a/ui/app/templates/components/job-page/periodic-child.hbs +++ b/ui/app/templates/components/job-page/periodic-child.hbs @@ -11,7 +11,6 @@ {{@job.parent.name}} diff --git a/ui/app/templates/components/plugin-allocation-row.hbs b/ui/app/templates/components/plugin-allocation-row.hbs index 40303462b..bf87f26dc 100644 --- a/ui/app/templates/components/plugin-allocation-row.hbs +++ b/ui/app/templates/components/plugin-allocation-row.hbs @@ -55,7 +55,7 @@ {{#if (or this.allocation.job.isPending this.allocation.job.isReloading)}} ... {{else}} - {{this.allocation.job.name}} + {{this.allocation.job.name}} / {{this.allocation.taskGroup.name}} {{/if}} diff --git a/ui/app/templates/topology.hbs b/ui/app/templates/topology.hbs index a95d57d08..5b6018681 100644 --- a/ui/app/templates/topology.hbs +++ b/ui/app/templates/topology.hbs @@ -301,7 +301,6 @@ data-test-job @route="jobs.job" @model={{this.activeAllocation.job}} - @query={{hash jobNamespace=this.activeAllocation.job.namespace.id}} > {{this.activeAllocation.job.name}}