summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/views/SharingTab.vue
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2019-07-09 12:49:09 +0200
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2019-10-29 12:56:00 +0100
commitadb163b33798313f20b7bb34c0fc2a9f8268c87a (patch)
tree219c5bd70d2ad6e87947e05f28718f6d4ce82a73 /apps/files_sharing/src/views/SharingTab.vue
parent515171a653d92c292070ef047c91fd724e0de45b (diff)
downloadnextcloud-server-adb163b33798313f20b7bb34c0fc2a9f8268c87a.tar.gz
nextcloud-server-adb163b33798313f20b7bb34c0fc2a9f8268c87a.zip
Add projects view to sidebar
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps/files_sharing/src/views/SharingTab.vue')
-rw-r--r--apps/files_sharing/src/views/SharingTab.vue8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/files_sharing/src/views/SharingTab.vue b/apps/files_sharing/src/views/SharingTab.vue
index 5a9b24c36b3..4f16f4b2435 100644
--- a/apps/files_sharing/src/views/SharingTab.vue
+++ b/apps/files_sharing/src/views/SharingTab.vue
@@ -63,6 +63,12 @@
<!-- internal link copy -->
<SharingEntryInternal :file-info="fileInfo" />
+
+ <!-- projects -->
+ <CollectionList v-if="fileInfo"
+ :id="`${fileInfo.id}`"
+ type="file"
+ :name="fileInfo.name" />
</template>
</Tab>
</template>
@@ -72,6 +78,7 @@ import { generateOcsUrl } from '@nextcloud/router'
import Tab from 'nextcloud-vue/dist/Components/AppSidebarTab'
import Avatar from 'nextcloud-vue/dist/Components/Avatar'
import axios from '@nextcloud/axios'
+import { CollectionList } from 'nextcloud-vue-collections'
import { shareWithTitle } from '../utils/SharedWithMe'
import Share from '../models/Share'
@@ -88,6 +95,7 @@ export default {
components: {
Avatar,
+ CollectionList,
SharingEntryInternal,
SharingEntrySimple,
SharingInput,