Pass provider data for peering tab-nav

This commit is contained in:
Michael Klein 2022-10-05 14:44:28 +02:00
parent 9c1f907ed9
commit a8b44eb6e2
1 changed files with 4 additions and 21 deletions

View File

@ -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