summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/views
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-09-25 18:19:42 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-10-01 17:16:09 +0200
commitb9bc2417e7a8dc81feb0abe20359bedaf864f790 (patch)
tree61b47fbf37c1d168da8625224debde9e6a985348 /apps/files_sharing/src/views
parent7fb651235128dcbca8a6683b5cdafdf835f46300 (diff)
downloadnextcloud-server-b9bc2417e7a8dc81feb0abe20359bedaf864f790.tar.gz
nextcloud-server-b9bc2417e7a8dc81feb0abe20359bedaf864f790.zip
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_sharing/src/views')
-rw-r--r--apps/files_sharing/src/views/CollaborationView.vue19
1 files changed, 11 insertions, 8 deletions
diff --git a/apps/files_sharing/src/views/CollaborationView.vue b/apps/files_sharing/src/views/CollaborationView.vue
index 0307488b5a9..5cfcd299cce 100644
--- a/apps/files_sharing/src/views/CollaborationView.vue
+++ b/apps/files_sharing/src/views/CollaborationView.vue
@@ -21,7 +21,10 @@
-->
<template>
- <collection-list v-if="fileId" type="file" :id="fileId" :name="filename"></collection-list>
+ <CollectionList v-if="fileId"
+ :id="fileId"
+ type="file"
+ :name="filename" />
</template>
<script>
@@ -29,22 +32,22 @@ import { CollectionList } from 'nextcloud-vue-collections'
export default {
name: 'CollaborationView',
+ components: {
+ CollectionList
+ },
computed: {
fileId() {
if (this.$root.model && this.$root.model.id) {
- return '' + this.$root.model.id;
+ return '' + this.$root.model.id
}
- return null;
+ return null
},
filename() {
if (this.$root.model && this.$root.model.name) {
- return '' + this.$root.model.name;
+ return '' + this.$root.model.name
}
- return '';
+ return ''
}
- },
- components: {
- CollectionList
}
}
</script>