diff --git a/ui/app/templates/allocations/allocation/index.hbs b/ui/app/templates/allocations/allocation/index.hbs
index d27f8860dc28..64b70e114649 100644
--- a/ui/app/templates/allocations/allocation/index.hbs
+++ b/ui/app/templates/allocations/allocation/index.hbs
@@ -300,10 +300,9 @@
{{#if (eq row.model.provider "nomad")}}
{{else}}
+
{{#if row.model.connect}}
-
- {{else}}
-
+
{{/if}}
{{/if}}
diff --git a/ui/app/templates/components/job-service-row.hbs b/ui/app/templates/components/job-service-row.hbs
index c30b2a125b4f..2de7000e4d57 100644
--- a/ui/app/templates/components/job-service-row.hbs
+++ b/ui/app/templates/components/job-service-row.hbs
@@ -17,11 +17,7 @@
{{@service.name}}
{{else}}
- {{#if @service.connect}}
-
- {{else}}
-
- {{/if}}
+
{{#if (and (eq @service.provider "consul") this.consulRedirectLink)}}
{{@service.name}}
@@ -29,6 +25,9 @@
{{else}}
{{@service.name}}
{{/if}}
+ {{#if @service.connect}}
+
+ {{/if}}
{{/if}}
|