diff --git a/app/javascript/dashboard/components/layout/Sidebar.vue b/app/javascript/dashboard/components/layout/Sidebar.vue
index 0bb416456..509c34696 100644
--- a/app/javascript/dashboard/components/layout/Sidebar.vue
+++ b/app/javascript/dashboard/components/layout/Sidebar.vue
@@ -19,12 +19,12 @@
:menu-item="teamSection"
/>
@@ -128,11 +128,11 @@ export default {
currentRoute() {
return this.$store.state.route.name;
},
- shouldShowInboxes() {
+ shouldShowSidebarItem() {
return this.sidemenuItems.common.routes.includes(this.currentRoute);
},
shouldShowTeams() {
- return this.shouldShowInboxes && this.teams.length;
+ return this.shouldShowSidebarItem && this.teams.length;
},
inboxSection() {
return {