Skip to content

Commit

Permalink
fix(files_sharing): add missing subtitle on search for share recipients
Browse files Browse the repository at this point in the history
Signed-off-by: Luka Trovic <luka@nextcloud.com>
  • Loading branch information
luka-nextcloud committed Jul 17, 2024
1 parent 19ba872 commit 46a645f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apps/files_sharing/src/components/SharingInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@
<template #no-options="{ search }">
{{ search ? noResultText : t('files_sharing', 'No recommendations. Start typing.') }}
</template>
<template #option="option">
<NcListItemIcon v-bind="option"
:avatar-size="32"
:name="option.displayName"
:subname="option.subtitle"
:search="query"

Check failure on line 30 in apps/files_sharing/src/components/SharingInput.vue

View workflow job for this annotation

GitHub Actions / NPM lint

Expected no line breaks before closing bracket, but 1 line break found
/>
</template>
</NcSelect>
</div>
</template>
Expand All @@ -33,6 +41,7 @@ import { getCapabilities } from '@nextcloud/capabilities'
import axios from '@nextcloud/axios'
import debounce from 'debounce'
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
import NcListItemIcon from '@nextcloud/vue/dist/Components/NcListItemIcon.js'
import Config from '../services/ConfigService.ts'
import Share from '../models/Share.js'
Expand All @@ -45,6 +54,7 @@ export default {
components: {
NcSelect,
NcListItemIcon,
},
mixins: [ShareTypes, ShareRequests, ShareDetails],
Expand Down

0 comments on commit 46a645f

Please sign in to comment.