Skip to content

Commit

Permalink
fix(vue): Display SelectConnectedGroup component from left sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
zak39 committed Nov 15, 2024
1 parent fb622ef commit c10609c
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/SpaceMenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,7 @@
</NcActionButton>
</template>
</NcAppNavigationCaption>
<NcModal v-if="isAddGroupModalOpen"
@close="toggleAddGroupModal">
<SelectConnectedGroups @close="toggleAddGroupModal" />
</NcModal>
<SelectConnectedGroups v-if="isAddGroupModalOpen" @close="toggleAddGroupModal" />
<GroupMenuItem
v-for="group in sortedGroups(Object.values(space.added_groups ?? []), spaceName)"
:key="group.gid"
Expand All @@ -96,7 +93,6 @@ import NcAppNavigationCaption from '@nextcloud/vue/dist/Components/NcAppNavigati
import NcAppNavigationIconBullet from '@nextcloud/vue/dist/Components/NcAppNavigationIconBullet.js'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import NcCounterBubble from '@nextcloud/vue/dist/Components/NcCounterBubble.js'
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import Plus from 'vue-material-design-icons/Plus.vue'
import SelectConnectedGroups from './SelectConnectedGroups.vue'

Expand All @@ -112,7 +108,6 @@ export default {
NcAppNavigationIconBullet,
NcAppNavigationItem,
NcCounterBubble,
NcModal,
Plus,
SelectConnectedGroups,
},
Expand Down

0 comments on commit c10609c

Please sign in to comment.