From f2864358d8b91774db2065d1a7f568f96bc665ed Mon Sep 17 00:00:00 2001 From: Kenia <19161242+kaxcode@users.noreply.github.com> Date: Tue, 9 Jun 2020 11:02:13 -0400 Subject: [PATCH] ui: Reorder the tabs for Ingress/Terminating Gateway Service Detail page (#8060) --- ui-v2/app/components/consul-service-list/index.hbs | 12 +++++++++++- ui-v2/app/templates/dc/services/index.hbs | 2 +- ui-v2/app/templates/dc/services/show.hbs | 2 +- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/ui-v2/app/components/consul-service-list/index.hbs b/ui-v2/app/components/consul-service-list/index.hbs index fa05e1d96..c20a6194f 100644 --- a/ui-v2/app/components/consul-service-list/index.hbs +++ b/ui-v2/app/components/consul-service-list/index.hbs @@ -1,9 +1,19 @@ {{yield}} {{#if (gt items.length 0)}} - +{{#if (eq item.Kind 'terminating-gateway')}} + {{item.Name}} +{{else if (eq item.Kind 'ingress-gateway')}} + + {{item.Name}} + +{{else}} + + {{item.Name}} + + {{/if}}