mirror of https://github.com/status-im/consul.git
Link service in exported-service list
This commit is contained in:
parent
33471be408
commit
56d83c316e
|
@ -56,11 +56,27 @@
|
|||
as |service index|
|
||||
>
|
||||
<li
|
||||
class="px-3 h-12 flex items-center border-b border-hds-border-primary border-b"
|
||||
class="px-3 h-12 border-b border-hds-border-primary border-b"
|
||||
>
|
||||
<div
|
||||
class="hds-typography-display-300 hds-font-weight-semibold"
|
||||
>{{service.Name}}</div>
|
||||
<a
|
||||
data-test-service-name
|
||||
class="hds-typography-display-300 text-hds-foreground-strong hds-font-weight-semibold h-full w-full flex items-center"
|
||||
href={{href-to
|
||||
"dc.services.show.index"
|
||||
service.Name
|
||||
params=(if
|
||||
(not-eq service.Partition partition)
|
||||
(hash
|
||||
partition=service.Partition
|
||||
nspace=service.Namespace
|
||||
peer=service.PeerName
|
||||
)
|
||||
(hash peer=service.PeerName)
|
||||
)
|
||||
}}
|
||||
>
|
||||
{{service.Name}}
|
||||
</a>
|
||||
</li>
|
||||
</VerticalCollection>
|
||||
{{else}}
|
||||
|
|
Loading…
Reference in New Issue