From 203b49d222d371828d225b2e9e4998e44d7f989b Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Thu, 5 Dec 2024 10:45:51 +0100 Subject: [PATCH] fix: add missing activities on Shared with me page We need to use the resource's `fileId` to load the activities since the regular `id` won't work for share resources. --- .../unreleased/bugfix-missing-activities-shared-with-me-page | 5 +++++ .../web-app-files/src/components/SideBar/ActivitiesPanel.vue | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/unreleased/bugfix-missing-activities-shared-with-me-page diff --git a/changelog/unreleased/bugfix-missing-activities-shared-with-me-page b/changelog/unreleased/bugfix-missing-activities-shared-with-me-page new file mode 100644 index 00000000000..4fe1aa5a329 --- /dev/null +++ b/changelog/unreleased/bugfix-missing-activities-shared-with-me-page @@ -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 diff --git a/packages/web-app-files/src/components/SideBar/ActivitiesPanel.vue b/packages/web-app-files/src/components/SideBar/ActivitiesPanel.vue index ba180c406cb..dbd360a90db 100644 --- a/packages/web-app-files/src/components/SideBar/ActivitiesPanel.vue +++ b/packages/web-app-files/src/components/SideBar/ActivitiesPanel.vue @@ -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 } ) )