diff options
author | Christopher Ng <chrng8@gmail.com> | 2022-09-16 22:14:20 +0300 |
---|---|---|
committer | Christopher Ng <chrng8@gmail.com> | 2022-09-16 22:14:20 +0300 |
commit | eb5f8a04229a8380344a71c8e1713814ae32d622 (patch) | |
tree | 108407df411da202ba2290c76b93e8585a7de482 /src | |
parent | 1e89c1b5c12e7df97f3bc11fe539fdbe46f5047b (diff) |
Revert "Merge pull request #2585 from nextcloud/enh/hide-projects-2"revert/2585
This reverts commit 31bedf3e323c9fde0d02303ee46442290ec4371d, reversing
changes made to ae03b982dc25fbe42bbd943427f76dcbe4f20924.
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/js/views/SideBar.vue | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/js/views/SideBar.vue b/src/js/views/SideBar.vue index e05c01b7..3a0caba1 100644 --- a/src/js/views/SideBar.vue +++ b/src/js/views/SideBar.vue @@ -55,7 +55,7 @@ <SideBarTabShare /> </AppSidebarTab> - <AppSidebarTab v-if="projectsEnabled && acl.loggedIn && useCollaboration" + <AppSidebarTab v-if="acl.loggedIn && useCollaboration" :id="'collaboration'" :order="4" :name="t('polls', 'Collaboration')"> @@ -91,7 +91,6 @@ import { AppSidebar, AppSidebarTab } from '@nextcloud/vue' import { mapState } from 'vuex' import { emit } from '@nextcloud/event-bus' -import { loadState } from '@nextcloud/initial-state' import SidebarConfigurationIcon from 'vue-material-design-icons/Wrench.vue' import SidebarOptionsIcon from 'vue-material-design-icons/FormatListChecks.vue' import SidebarShareIcon from 'vue-material-design-icons/ShareVariant.vue' @@ -126,12 +125,6 @@ export default { }, }, - data() { - return { - projectsEnabled: loadState('core', 'projects_enabled', false), - } - }, - computed: { ...mapState({ poll: (state) => state.poll, |