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:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2019-11-13 15:05:10 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-12-19 13:55:33 +0300
commitec01e0a790448fff38364f629a4de4edb5d465bf (patch)
tree8fb5369e3d6f9f805025802e12feaa4dfaef1e03 /apps/files_sharing/src/mixins/SharesMixin.js
parent5d9fd7ba0cced84f1d07627b0860ac5490de164d (diff)
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0. - [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases) - [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0) Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files_sharing/src/mixins/SharesMixin.js')
-rw-r--r--apps/files_sharing/src/mixins/SharesMixin.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/apps/files_sharing/src/mixins/SharesMixin.js b/apps/files_sharing/src/mixins/SharesMixin.js
index a0ec0748951..c8ffbd6f5c5 100644
--- a/apps/files_sharing/src/mixins/SharesMixin.js
+++ b/apps/files_sharing/src/mixins/SharesMixin.js
@@ -36,12 +36,12 @@ export default {
fileInfo: {
type: Object,
default: () => {},
- required: true
+ required: true,
},
share: {
type: Share,
- default: null
- }
+ default: null,
+ },
},
data() {
@@ -75,8 +75,8 @@ export default {
SHARE_TYPE_CIRCLE: OC.Share.SHARE_TYPE_CIRCLE,
SHARE_TYPE_GUEST: OC.Share.SHARE_TYPE_GUEST,
SHARE_TYPE_REMOTE_GROUP: OC.Share.SHARE_TYPE_REMOTE_GROUP,
- SHARE_TYPE_ROOM: OC.Share.SHARE_TYPE_ROOM
- }
+ SHARE_TYPE_ROOM: OC.Share.SHARE_TYPE_ROOM,
+ },
}
},
@@ -94,7 +94,7 @@ export default {
this.share.note = enabled
? t('files_sharing', 'Enter a note for the share recipient')
: ''
- }
+ },
},
dateTomorrow() {
@@ -123,14 +123,14 @@ export default {
? window.monthNamesShort // provided by nextcloud
: ['Jan.', 'Feb.', 'Mar.', 'Apr.', 'May.', 'Jun.', 'Jul.', 'Aug.', 'Sep.', 'Oct.', 'Nov.', 'Dec.'],
placeholder: {
- date: 'Select Date' // TODO: Translate
- }
+ date: 'Select Date', // TODO: Translate
+ },
}
},
isShareOwner() {
return this.share && this.share.owner === getCurrentUser().uid
- }
+ },
},
@@ -217,7 +217,7 @@ export default {
try {
await this.updateShare(this.share.id, {
property,
- value
+ value,
})
// clear any previous errors
@@ -276,6 +276,6 @@ export default {
*/
debounceQueueUpdate: debounce(function(property) {
this.queueUpdate(property)
- }, 500)
- }
+ }, 500),
+ },
}