chore: 🤖 hide sidebar when in global scope

This commit is contained in:
Randall Morey committed 2020-08-14 17:53:49 -04:00
1 parent aa867f54d8
commit 11e94aa0c3
1 file changed
+2
+2
View File
@@ -1,6 +1,7 @@
<Rose::Layout::Sidebar as |sidebarLayout|>
{{#if this.session.isAuthenticated}}
{{#unless @model.isGlobal}}
<sidebarLayout.sidebar>
<Rose::Nav::Sidebar @title={{t "titles.general"}} as |nav|>
<nav.link @route="scopes.scope.projects">
@@ -26,6 +27,7 @@
{{outlet "sidebar"}}
</sidebarLayout.sidebar>
{{/unless}}
{{/if}}
<sidebarLayout.body>