diff options
Diffstat (limited to 'apps/files_sharing/src/views/CollaborationView.vue')
-rw-r--r-- | apps/files_sharing/src/views/CollaborationView.vue | 19 |
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> |