Pass provider data for peering tab-nav
This commit is contained in:
parent
4b89df2335
commit
7334472f84
|
@ -36,27 +36,10 @@
|
|||
</h1>
|
||||
</BlockSlot>
|
||||
<BlockSlot @name="content">
|
||||
<TabNav
|
||||
@items={{compact
|
||||
(array
|
||||
(hash
|
||||
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")
|
||||
)
|
||||
)
|
||||
}}
|
||||
/>
|
||||
<Peerings::Provider @peer={{item}} as |peering|>
|
||||
<TabNav @items={{peering.data.tabs}} />
|
||||
|
||||
</Peerings::Provider>
|
||||
<Outlet
|
||||
@name={{routeName}}
|
||||
@model={{assign
|
||||
|
|
Loading…
Reference in New Issue