Skip to content

Commit

Permalink
Bugfix: select-all checkbox checks items in other list (#9131)
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed May 30, 2023
1 parent 38939d9 commit ca2aaae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions changelog/unreleased/bugfix-select-all-checkbox
@@ -0,0 +1,6 @@
Bugfix: Select all checkbox

We've fixed a bug in the shared-with-me page which caused unrelated checkboxes to be checked.

https://github.com/owncloud/web/pull/9131
https://github.com/owncloud/web/issues/9122
Expand Up @@ -596,7 +596,7 @@ export default defineComponent({
return this.configuration?.options?.displayResourcesLazy
},
areAllResourcesSelected() {
return this.selectedIds.length === this.resources.length
return this.selectedResources.length === this.resources.length
},
selectedResources() {
return this.resources.filter((resource) => this.selectedIds.includes(resource.id))
Expand Down

0 comments on commit ca2aaae

Please sign in to comment.