From 083a912e911b97151549d15febfecc98feed70d0 Mon Sep 17 00:00:00 2001 From: Maulana Sodiqin Date: Tue, 25 Nov 2025 21:58:15 +0700 Subject: [PATCH] fix: filter join requests to only show pending status MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously approved/rejected requests were still showing in the list. Now only pending requests are displayed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- libs/service/src/hooks/teams/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/service/src/hooks/teams/index.ts b/libs/service/src/hooks/teams/index.ts index 1d339b3..d70f6d3 100644 --- a/libs/service/src/hooks/teams/index.ts +++ b/libs/service/src/hooks/teams/index.ts @@ -372,6 +372,7 @@ export const useTeamJoinRequests = (teamId: string, enabled = true) => { user:users(id, email, fullname, avatar) `) .eq('team_id', teamId) + .eq('status', 'pending') .order('created_at', { ascending: false }); if (error) {