chore: 🤖 add storage bucket link on left sidebar (#94)

* chore: 🤖 update branch

* chore: 🤖 add storage bucket link to org scope as well

* refactor: 💡 remove link form org scope

✅ Closes: ICU-8222
This commit is contained in:
lisbet-alvarez authored and GitHub committed 2023-03-03 12:03:34 -08:00
1 parent cd30f4e5ce
commit 6d6b4bee05
1 file changed
+18 -13
+18 -13
View File
@@ -26,23 +26,28 @@
<Rose::Icon @name='flight-icons/svg/org-16' @size='medium' />
{{t 'resources.org.title_plural'}}
</nav.link>
</Rose::Nav::Sidebar>
{{#if
(and
(can 'navigate worker' @model collection='workers')
(feature-flag 'byow')
)
}}
<Rose::Nav::Sidebar
@title={{t 'resources.worker.title_plural'}}
as |nav|
>
{{! TODO: Check can abilities }}
{{#if (feature-flag 'session-recording')}}
<nav.link @route='scopes.scope.storage-buckets'>
<Rose::Icon
@name='flight-icons/svg/cloud-upload-16'
@size='medium'
/>
{{t 'resources.storage-bucket.title_plural'}}
</nav.link>
{{/if}}
{{#if
(and
(can 'navigate worker' @model collection='workers')
(feature-flag 'byow')
)
}}
<nav.link @route='scopes.scope.workers'>
<Rose::Icon @name='flight-icons/svg/cpu-16' @size='medium' />
{{t 'resources.worker.title_plural'}}
</nav.link>
</Rose::Nav::Sidebar>
{{/if}}
{{/if}}
</Rose::Nav::Sidebar>
{{/if}}
{{#if @model.isOrg}}