Skip to content

Commit

Permalink
Merge pull request #13660 from nextcloud/fix/13578/hide-browse-in-sha…
Browse files Browse the repository at this point in the history
…red-items
  • Loading branch information
Antreesy authored Oct 29, 2024
2 parents b751e6a + 6e19a48 commit 2ecce85
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/RightSidebar/SharedItems/SharedItemsTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ import {
sharedItemsWithPreviewLimit,
sharedItemTitle,
} from './sharedItemsConstants.js'
import { CONVERSATION } from '../../../constants.js'
import { hasTalkFeature } from '../../../services/CapabilitiesManager.ts'
import { EventBus } from '../../../services/EventBus.ts'
import { useSharedItemsStore } from '../../../stores/sharedItems.js'
Expand Down Expand Up @@ -162,6 +163,7 @@ export default {
canCreatePollDrafts() {
return hasTalkFeature(this.token, 'talk-polls-drafts') && this.$store.getters.isModerator
&& [CONVERSATION.TYPE.GROUP, CONVERSATION.TYPE.PUBLIC].includes(this.conversation.type)
},
loading() {
Expand Down

0 comments on commit 2ecce85

Please sign in to comment.