ui: Remove extra nspace value from service upstreams (#10152)

* ui: Remove extra nspace value from service upstreams
This commit is contained in:
John Cowen 2021-05-04 17:42:13 +01:00 committed by GitHub
parent 7c7b240685
commit 18a22c0c82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

3
.changelog/10152.txt Normal file
View File

@ -0,0 +1,3 @@
```release-note:bug
ui: Removes the extra rendering of namespace in service upstream list
```

View File

@ -25,7 +25,6 @@ as |item index|>
</dd> </dd>
</dl> </dl>
{{#if (and (env 'CONSUL_NSPACES_ENABLED') (not-eq item.Namespace @nspace))}} {{#if (and (env 'CONSUL_NSPACES_ENABLED') (not-eq item.Namespace @nspace))}}
{{item.Namespace}}
<a data-test-service-name href={{href-to 'nspace.dc.services.show' (concat '~' item.Namespace) @dc item.Name }}> <a data-test-service-name href={{href-to 'nspace.dc.services.show' (concat '~' item.Namespace) @dc item.Name }}>
{{item.Name}} {{item.Name}}
</a> </a>