diff --git a/.changeset/lucky-buttons-yell.md b/.changeset/lucky-buttons-yell.md new file mode 100644 index 0000000000..129bfe38a0 --- /dev/null +++ b/.changeset/lucky-buttons-yell.md @@ -0,0 +1,5 @@ +--- +"@medusajs/dashboard": patch +--- + +fix(dashboard): filter feed channel notifications in admin dashboard diff --git a/packages/admin/dashboard/src/components/layout/notifications/notifications.tsx b/packages/admin/dashboard/src/components/layout/notifications/notifications.tsx index e65ac7e2df..e737233d7a 100644 --- a/packages/admin/dashboard/src/components/layout/notifications/notifications.tsx +++ b/packages/admin/dashboard/src/components/layout/notifications/notifications.tsx @@ -89,7 +89,12 @@ export const Notifications = () => { > responseKey="notifications" queryKey={notificationQueryKeys.all} - queryFn={(params) => sdk.admin.notification.list(params)} + queryFn={(params) => + sdk.admin.notification.list({ + ...params, + channel: "feed", + }) + } queryOptions={{ enabled: open }} renderEmpty={() => } renderItem={(notification) => {