mirror of https://github.com/status-im/consul.git
Pass provider data for peering tab-nav
This commit is contained in:
parent
9c1f907ed9
commit
a8b44eb6e2
|
@ -36,27 +36,10 @@
|
||||||
</h1>
|
</h1>
|
||||||
</BlockSlot>
|
</BlockSlot>
|
||||||
<BlockSlot @name="content">
|
<BlockSlot @name="content">
|
||||||
<TabNav
|
<Peerings::Provider @peer={{item}} as |peering|>
|
||||||
@items={{compact
|
<TabNav @items={{peering.data.tabs}} />
|
||||||
(array
|
|
||||||
(hash
|
</Peerings::Provider>
|
||||||
label="Imported Services"
|
|
||||||
href=(href-to "dc.peers.edit.imported")
|
|
||||||
selected=(is-href "dc.peers.edit.imported")
|
|
||||||
)
|
|
||||||
(hash
|
|
||||||
label="Exported Services"
|
|
||||||
href=(href-to "dc.peers.edit.exported")
|
|
||||||
selected=(is-href "dc.peers.edit.exported")
|
|
||||||
)
|
|
||||||
(hash
|
|
||||||
label="Addresses"
|
|
||||||
href=(href-to "dc.peers.edit.addresses")
|
|
||||||
selected=(is-href "dc.peers.edit.addresses")
|
|
||||||
)
|
|
||||||
)
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
<Outlet
|
<Outlet
|
||||||
@name={{routeName}}
|
@name={{routeName}}
|
||||||
@model={{assign
|
@model={{assign
|
||||||
|
|
Loading…
Reference in New Issue