Skip to content

Commit

Permalink
Merge pull request #774 from nextcloud/bugfix/noid/missing-admin-sett…
Browse files Browse the repository at this point in the history
…ings

fix(form): Fix event-trigger for searching more groups
  • Loading branch information
nickvergessen authored Mar 21, 2024
2 parents ccd64d2 + b4a4ab3 commit 659d831
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@
</transition-group>

<NcEmptyContent v-if="!announcements.length"
:title="t('announcementcenter', 'No announcements')"
:name="t('announcementcenter', 'No announcements')"
:description="t('announcementcenter', 'There are currently no announcements …')">
<template #icon>
<span class="icon-announcementcenter-dark" />
</template>
</NcEmptyContent>
</NcAppContent>
<NcAppSidebar v-show="activeId !== 0 && activateAnnouncementHasComments"
:title="activeAnnouncementTitle + ' - ' + t('announcementcenter', 'Comments')"
:name="activeAnnouncementTitle + ' - ' + t('announcementcenter', 'Comments')"
@close="onClickAnnouncement(0)">
<div ref="sidebar"
class="comments" />
Expand Down
3 changes: 2 additions & 1 deletion src/Components/NewForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@
:options="groupOptions"
track-by="id"
:multiple="true"
:label="t('announcementcenter', 'Visibility')"
:placeholder="t('announcementcenter', 'Everyone')"
:title="t('announcementcenter', 'These groups will be able to see the announcement. If no group is selected, all users can see it.')"
@search-change="onSearchChanged">
@search="onSearchChanged">
{{ t('announcementcenter', 'Everyone') }}
</NcActionInput>
<NcActionCheckbox value="1"
Expand Down
2 changes: 1 addition & 1 deletion src/Components/SettingsSelectGroup.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
import axios from '@nextcloud/axios'
import { showError } from '@nextcloud/dialogs'
import { generateOcsUrl } from '@nextcloud/router'
import { debounce } from 'debounce'
import debounce from 'debounce'
export default {
name: 'SettingsSelectGroup',
Expand Down

0 comments on commit 659d831

Please sign in to comment.