diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2021-12-02 20:32:57 +0300 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2022-01-08 12:14:05 +0300 |
commit | 74b980310852a0b406fa9d073870f92c409d5444 (patch) | |
tree | 055cbdf57886077bf3a6ea476813deedb54064e0 /apps/files_sharing/src/components/SharingInput.vue | |
parent | 85bc8513557f5ff37fc283d53893d4cb77ec7c3b (diff) |
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/components/SharingInput.vue')
-rw-r--r-- | apps/files_sharing/src/components/SharingInput.vue | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/apps/files_sharing/src/components/SharingInput.vue b/apps/files_sharing/src/components/SharingInput.vue index 9bc4e04e722..02c1f27f173 100644 --- a/apps/files_sharing/src/components/SharingInput.vue +++ b/apps/files_sharing/src/components/SharingInput.vue @@ -114,7 +114,7 @@ export default { * results into the autocomplete dropdown * Used for the guests app * - * @returns {Array} + * @return {Array} */ externalResults() { return this.ShareSearch.results @@ -321,8 +321,8 @@ export default { * Filter out existing shares from * the provided shares search results * - * @param {Object[]} shares the array of shares object - * @returns {Object[]} + * @param {object[]} shares the array of shares object + * @return {object[]} */ filterOutExistingShares(shares) { return shares.reduce((arr, share) => { @@ -376,8 +376,9 @@ export default { /** * Get the icon based on the share type + * * @param {number} type the share type - * @returns {string} the icon class + * @return {string} the icon class */ shareTypeToIcon(type) { switch (type) { @@ -406,8 +407,9 @@ export default { /** * Format shares for the multiselect options - * @param {Object} result select entry item - * @returns {Object} + * + * @param {object} result select entry item + * @return {object} */ formatForMultiselect(result) { let subtitle @@ -438,7 +440,8 @@ export default { /** * Process the new share request - * @param {Object} value the multiselect option + * + * @param {object} value the multiselect option */ async addShare(value) { if (value.lookup) { |