summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/groups
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-05 21:08:45 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-05 21:08:45 +0000
commit5875e92ecfd43a6b5379bdc30c79eba6981d3bf8 (patch)
tree0abb4b53c3937d5c342ad920c6e9aac54e6a351e /app/assets/javascripts/groups
parente129eff88309eca18f3902afd710e2e07393fe45 (diff)
downloadgitlab-ce-5875e92ecfd43a6b5379bdc30c79eba6981d3bf8.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/groups')
-rw-r--r--app/assets/javascripts/groups/settings/components/access_dropdown.vue34
1 files changed, 18 insertions, 16 deletions
diff --git a/app/assets/javascripts/groups/settings/components/access_dropdown.vue b/app/assets/javascripts/groups/settings/components/access_dropdown.vue
index b3813636631..28f059fa23e 100644
--- a/app/assets/javascripts/groups/settings/components/access_dropdown.vue
+++ b/app/assets/javascripts/groups/settings/components/access_dropdown.vue
@@ -173,21 +173,23 @@ export default {
<template #header>
<gl-search-box-by-type ref="search" v-model.trim="query" :is-loading="loading" />
</template>
- <template v-if="groups.length">
- <gl-dropdown-section-header>{{
- $options.i18n.groupsSectionHeader
- }}</gl-dropdown-section-header>
- <gl-dropdown-item
- v-for="group in groups"
- :key="`${group.id}${group.name}`"
- data-testid="group-dropdown-item"
- :avatar-url="group.avatar_url"
- is-check-item
- :is-checked="isSelected(group)"
- @click.native.capture.stop="onItemClick(group)"
- >
- {{ group.name }}
- </gl-dropdown-item>
- </template>
+ <div>
+ <template v-if="groups.length">
+ <gl-dropdown-section-header>{{
+ $options.i18n.groupsSectionHeader
+ }}</gl-dropdown-section-header>
+ <gl-dropdown-item
+ v-for="group in groups"
+ :key="`${group.id}${group.name}`"
+ data-testid="group-dropdown-item"
+ :avatar-url="group.avatar_url"
+ is-check-item
+ :is-checked="isSelected(group)"
+ @click.native.capture.stop="onItemClick(group)"
+ >
+ {{ group.name }}
+ </gl-dropdown-item>
+ </template>
+ </div>
</gl-dropdown>
</template>