diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2019-12-19 14:58:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-19 14:58:24 +0100 |
commit | aa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7 (patch) | |
tree | 12ad857932bd82db182531cf17b9dcbfdd4400a2 /apps/files_sharing/src/components/SharingInput.vue | |
parent | 5a986f02a33bd1f54fd951af7dc5a1fed02b8340 (diff) | |
parent | ec01e0a790448fff38364f629a4de4edb5d465bf (diff) | |
download | nextcloud-server-aa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7.tar.gz nextcloud-server-aa46fc26a46cc6b375ba732bcf3e0dc04a08a2f7.zip |
Merge pull request #17705 from nextcloud/dependabot/npm_and_yarn/eslint-config-nextcloud-0.1.0
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Diffstat (limited to 'apps/files_sharing/src/components/SharingInput.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingInput.vue | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue index 80ef2ccb2ad..bcb69703548 100644 --- a/apps/files_sharing/src/components/SharingInput.vue +++ b/apps/files_sharing/src/components/SharingInput.vue @@ -61,7 +61,7 @@ export default { name: 'SharingInput', components: { - Multiselect + Multiselect, }, mixins: [ShareTypes, ShareRequests], @@ -70,26 +70,26 @@ export default { shares: { type: Array, default: () => [], - required: true + required: true, }, linkShares: { type: Array, default: () => [], - required: true + required: true, }, fileInfo: { type: Object, default: () => {}, - required: true + required: true, }, reshare: { type: Share, - default: null + default: null, }, canReshare: { type: Boolean, - required: true - } + required: true, + }, }, data() { @@ -99,7 +99,7 @@ export default { query: '', recommendations: [], ShareSearch: OCA.Sharing.ShareSearch.state, - suggestions: [] + suggestions: [], } }, @@ -151,7 +151,7 @@ export default { return t('files_sharing', 'Searching …') } return t('files_sharing', 'No elements found.') - } + }, }, mounted() { @@ -190,8 +190,8 @@ export default { itemType: this.fileInfo.type === 'dir' ? 'folder' : 'file', search, lookup, - perPage: this.config.maxAutocompleteResults - } + perPage: this.config.maxAutocompleteResults, + }, }) if (request.data.ocs.meta.statuscode !== 100) { @@ -224,7 +224,7 @@ export default { lookupEntry.push({ isNoUser: true, displayName: t('files_sharing', 'Search globally'), - lookup: true + lookup: true, }) } @@ -255,8 +255,8 @@ export default { const request = await axios.get(generateOcsUrl('apps/files_sharing/api/v1') + 'sharees_recommended', { params: { format: 'json', - itemType: this.fileInfo.type - } + itemType: this.fileInfo.type, + }, }) if (request.data.ocs.meta.statuscode !== 100) { @@ -382,7 +382,7 @@ export default { isNoUser: !result.uuid, displayName: result.name || result.label, desc, - icon: this.shareTypeToIcon(result.value.shareType) + icon: this.shareTypeToIcon(result.value.shareType), } }, @@ -417,7 +417,7 @@ export default { const share = await this.createShare({ path, shareType: value.shareType, - shareWith: value.shareWith + shareWith: value.shareWith, }) this.$emit('add:share', share) @@ -433,8 +433,8 @@ export default { } finally { this.loading = false } - } - } + }, + }, } </script> |