Merge pull request #2334 from nextcloud/bugfixes

This commit is contained in:
Julius Härtl
2020-10-02 15:34:40 +02:00
committed by GitHub
7 changed files with 36 additions and 22 deletions

View File

@@ -119,7 +119,7 @@ export default {
sharee.value = item.value
return sharee
})
}).slice(0, 10)
},
unallocatedSharees() {
return this.sharees.filter((sharee) => {

View File

@@ -118,7 +118,7 @@ export default {
return this.$store.getters.canEdit
}
const board = this.$store.getters.boards.find((item) => item.id === this.card.boardId)
return board.permissions.PERMISSION_EDIT
return board ? board.permissions.PERMISSION_EDIT : false
},
card() {
return this.item ? this.item : this.$store.getters.cardById(this.id)