Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-12-02 00:08:18 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-12-02 00:08:18 +0300
commit61666f277a484725307ae2b34697b13a300b2129 (patch)
tree01f93083ca2cb9d0eeca1443a23c31a4bdbd5532 /app/assets/javascripts/language_switcher
parent4e3a998b8ec1351d8345863f6cad4b9bd497bd6a (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/language_switcher')
-rw-r--r--app/assets/javascripts/language_switcher/components/app.vue8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/assets/javascripts/language_switcher/components/app.vue b/app/assets/javascripts/language_switcher/components/app.vue
index 9f93d235db8..71babe6c614 100644
--- a/app/assets/javascripts/language_switcher/components/app.vue
+++ b/app/assets/javascripts/language_switcher/components/app.vue
@@ -1,11 +1,11 @@
<script>
-import { GlListbox } from '@gitlab/ui';
+import { GlCollapsibleListbox } from '@gitlab/ui';
import { setCookie } from '~/lib/utils/common_utils';
import { PREFERRED_LANGUAGE_COOKIE_KEY } from '../constants';
export default {
components: {
- GlListbox,
+ GlCollapsibleListbox,
},
inject: {
locales: {
@@ -29,7 +29,7 @@ export default {
};
</script>
<template>
- <gl-listbox
+ <gl-collapsible-listbox
v-model="selected"
:toggle-text="preferredLocale.text"
:items="locales"
@@ -45,5 +45,5 @@ export default {
{{ locale.text }}
</span>
</template>
- </gl-listbox>
+ </gl-collapsible-listbox>
</template>