Add related resources panel to board sharing tab sidebar

Signed-off-by: Christopher Ng <chrng8@gmail.com>
This commit is contained in:
Christopher Ng
2022-08-26 01:19:24 +00:00
committed by Julius Härtl
parent 8008b9d0cb
commit a6c9bd5c09

View File

@@ -61,6 +61,10 @@
</li> </li>
</ul> </ul>
<NcRelatedResourcesPanel v-if="board.id"
provider-id="deck"
:item-id="board.id" />
<CollectionList v-if="projectsEnabled && board.id" <CollectionList v-if="projectsEnabled && board.id"
:id="`${board.id}`" :id="`${board.id}`"
:name="board.title" :name="board.title"
@@ -69,7 +73,7 @@
</template> </template>
<script> <script>
import { NcAvatar, NcMultiselect, NcActions, NcActionButton, ActionCheckbox } from '@nextcloud/vue' import { NcAvatar, NcMultiselect, NcActions, NcActionButton, ActionCheckbox, NcRelatedResourcesPanel } from '@nextcloud/vue'
import { CollectionList } from 'nextcloud-vue-collections' import { CollectionList } from 'nextcloud-vue-collections'
import { mapGetters, mapState } from 'vuex' import { mapGetters, mapState } from 'vuex'
import { getCurrentUser } from '@nextcloud/auth' import { getCurrentUser } from '@nextcloud/auth'
@@ -86,6 +90,7 @@ export default {
ActionCheckbox, ActionCheckbox,
NcMultiselect, NcMultiselect,
CollectionList, CollectionList,
NcRelatedResourcesPanel,
}, },
props: { props: {
board: { board: {