diff options
author | Pytal <24800714+Pytal@users.noreply.github.com> | 2023-03-30 17:30:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-30 17:30:40 -0700 |
commit | c53e052b6cc0e8ca42b5f621b3fc0e7689f112f1 (patch) | |
tree | ff93c9ed1b93af1a5b0fa2dee88c947da9db9b4a /apps | |
parent | 636c2415cc8b119c89af5b59d2a9457f87d7cf0d (diff) | |
parent | 928e7811c9b16d8b7eda9d958f69da6cfef4bbc9 (diff) | |
download | nextcloud-server-c53e052b6cc0e8ca42b5f621b3fc0e7689f112f1.tar.gz nextcloud-server-c53e052b6cc0e8ca42b5f621b3fc0e7689f112f1.zip |
Merge pull request #37459 from nextcloud/enh/a11y-update-notif-select
Diffstat (limited to 'apps')
-rw-r--r-- | apps/updatenotification/src/components/UpdateNotification.vue | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/apps/updatenotification/src/components/UpdateNotification.vue b/apps/updatenotification/src/components/UpdateNotification.vue index e5e05a87743..88ea8e50791 100644 --- a/apps/updatenotification/src/components/UpdateNotification.vue +++ b/apps/updatenotification/src/components/UpdateNotification.vue @@ -105,17 +105,18 @@ <p id="oca_updatenotification_groups"> {{ t('updatenotification', 'Notify members of the following groups about available updates:') }} - <NcMultiselect v-model="notifyGroups" + <NcSelect v-model="notifyGroups" :options="groups" :multiple="true" - :searchable="true" label="displayname" :loading="loadingGroups" - :show-no-options="false" :close-on-select="false" - track-by="id" - :tag-width="75" - @search-change="searchGroup" /><br> + @search="searchGroup"> + <template #no-options> + {{ t('updatenotification', 'No groups') }} + </template> + </NcSelect> + <br> <em v-if="currentChannel === 'daily' || currentChannel === 'git'">{{ t('updatenotification', 'Only notifications for app updates are available.') }}</em> <em v-if="currentChannel === 'daily'">{{ t('updatenotification', 'The selected update channel makes dedicated notifications for the server obsolete.') }}</em> <em v-if="currentChannel === 'git'">{{ t('updatenotification', 'The selected update channel does not support updates of the server.') }}</em> @@ -126,7 +127,7 @@ <script> import { generateUrl, getRootUrl, generateOcsUrl } from '@nextcloud/router' import NcPopoverMenu from '@nextcloud/vue/dist/Components/NcPopoverMenu.js' -import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js' +import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js' import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js' import NcNoteCard from '@nextcloud/vue/dist/Components/NcNoteCard.js' import ClickOutside from 'vue-click-outside' @@ -144,7 +145,7 @@ const logger = getLoggerBuilder() export default { name: 'UpdateNotification', components: { - NcMultiselect, + NcSelect, NcPopoverMenu, NcSettingsSection, NcNoteCard, |