Skip to content

Commit

Permalink
Merge pull request #6664 from nextcloud/remove-nextcloud-vue-collections
Browse files Browse the repository at this point in the history
remove deprecated nextcloud-vue-collections
  • Loading branch information
juliusknorr authored Jan 17, 2025
2 parents 90af63d + 7b21a9a commit 98c3e4a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 36 deletions.
25 changes: 0 additions & 25 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"markdown-it-link-attributes": "^4.0.1",
"markdown-it-task-checkbox": "^1.0.6",
"moment": "^2.30.1",
"nextcloud-vue-collections": "^0.13.0",
"p-queue": "^8.0.1",
"url-search-params-polyfill": "^8.2.5",
"vue": "^2.7.15",
Expand Down
6 changes: 3 additions & 3 deletions src/components/CollaborationView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@

<template>
<div>
<CollectionList v-if="boardId"
<NcCollectionList v-if="boardId"
:id="boardId"
:name="boardTitle"
type="deck" />
</div>
</template>

<script>
import { CollectionList } from 'nextcloud-vue-collections'
import { NcCollectionList } from '@nextcloud/vue'

export default {
name: 'CollaborationView',
components: {
CollectionList,
NcCollectionList,
},
computed: {
boardId() {
Expand Down
7 changes: 3 additions & 4 deletions src/components/board/SharingTabSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -84,16 +84,15 @@
provider-id="deck"
:item-id="board.id" />

<CollectionList v-if="projectsEnabled && board.id"
<NcCollectionList v-if="projectsEnabled && board.id"
:id="`${board.id}`"
:name="board.title"
type="deck" />
</div>
</template>

<script>
import { NcAvatar, NcSelect, NcActions, NcActionButton, NcActionCheckbox, NcRelatedResourcesPanel } from '@nextcloud/vue'
import { CollectionList } from 'nextcloud-vue-collections'
import { NcCollectionList, NcAvatar, NcSelect, NcActions, NcActionButton, NcActionCheckbox, NcRelatedResourcesPanel } from '@nextcloud/vue'
import { mapGetters, mapState } from 'vuex'
import { getCurrentUser } from '@nextcloud/auth'
import { showError, showSuccess } from '@nextcloud/dialogs'
Expand All @@ -108,7 +107,7 @@ export default {
NcActionButton,
NcActionCheckbox,
NcSelect,
CollectionList,
NcCollectionList,
NcRelatedResourcesPanel,
},
props: {
Expand Down
6 changes: 3 additions & 3 deletions src/components/card/CardSidebarTabDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@input="debouncedUpdateCardDue" />

<div v-if="projectsEnabled" class="section-wrapper">
<CollectionList v-if="card.id"
<NcCollectionList v-if="card.id"
:id="`${card.id}`"
:name="card.title"
type="deck-card" />
Expand All @@ -43,7 +43,7 @@ import { mapState, mapGetters } from 'vuex'
import moment from '@nextcloud/moment'
import { loadState } from '@nextcloud/initial-state'

import { CollectionList } from 'nextcloud-vue-collections'
import { NcCollectionList } from '@nextcloud/vue'
import Color from '../../mixins/color.js'
import {
getLocale,
Expand All @@ -61,7 +61,7 @@ export default {
AssignmentSelector,
TagSelector,
Description,
CollectionList,
NcCollectionList,
},
mixins: [Color],
props: {
Expand Down

0 comments on commit 98c3e4a

Please sign in to comment.