Skip to content

Commit

Permalink
fix: add missing activities on Shared with me page
Browse files Browse the repository at this point in the history
We need to use the resource's `fileId` to load the activities since the regular `id` won't work for share resources.
  • Loading branch information
Jannik Stehle committed Dec 5, 2024
1 parent f0efa17 commit 203b49d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Bugfix: Missing activities on Shared with me page

We've added the missing activities on the Shared with me page.

https://github.com/owncloud/web/pull/12008
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default defineComponent({
const loadActivitiesTask = useTask(function* (signal) {
activities.value = yield* call(
clientService.graphAuthenticated.activities.listActivities(
`itemid:${unref(resource).id} AND limit:${activitiesLimit} AND sort:desc`,
`itemid:${unref(resource).fileId} AND limit:${activitiesLimit} AND sort:desc`,
{ signal }
)
)
Expand Down

0 comments on commit 203b49d

Please sign in to comment.