Add projects view to sidebar

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl 2019-07-09 12:49:09 +02:00 committed by Daniel Calviño Sánchez
parent 515171a653
commit adb163b337
1 changed files with 8 additions and 0 deletions

View File

@ -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,