Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLouis Chemineau <louis@chmn.me>2021-12-02 16:50:49 +0300
committerJohn Molakvoæ <skjnldsv@protonmail.com>2022-01-08 12:12:47 +0300
commitadfb9010d47c91c5cc95b764d68ec181a029b475 (patch)
tree6899c32dd81015e76609edf6ae371ab2082925b0 /apps/files_sharing/src
parentf8f09bff0409347573464aba31a9775157c87530 (diff)
Migrate to webpack v5
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/mixins/SharesMixin.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js
index 15d3e2712cf..df0d0fec31d 100644
--- a/apps/files_sharing/src/mixins/SharesMixin.js
+++ b/apps/files_sharing/src/mixins/SharesMixin.js
@@ -93,7 +93,8 @@ export default {
/**
* Does the current share have a note
- * @returns {boolean}
+ *
+ * @return {boolean}
*/
hasNote: {
get() {
@@ -143,7 +144,7 @@ export default {
* firing the request
*
* @param {Share} share the share to check
- * @returns {Boolean}
+ * @return {boolean}
*/
checkShare(share) {
if (share.password) {
@@ -187,7 +188,8 @@ export default {
/**
* Note changed, let's save it to a different key
- * @param {String} note the share note
+ *
+ * @param {string} note the share note
*/
onNoteChange(note) {
this.$set(this.share, 'newNote', note.trim())
@@ -241,7 +243,7 @@ export default {
// share api controller accepts
propertyNames.map(p => (properties[p] = this.share[p].toString()))
- this.updateQueue.add(async() => {
+ this.updateQueue.add(async () => {
this.saving = true
this.errors = {}
try {
@@ -270,6 +272,7 @@ export default {
/**
* Manage sync errors
+ *
* @param {string} property the errored property, e.g. 'password'
* @param {string} message the error message
*/
@@ -321,8 +324,9 @@ export default {
/**
* Returns which dates are disabled for the datepicker
+ *
* @param {Date} date date to check
- * @returns {boolean}
+ * @return {boolean}
*/
disabledDate(date) {
const dateMoment = moment(date)