From 99c3235b46a6e8a154939f58c61e1f3490a95c0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89mile=20R=C3=A9?= Date: Tue, 28 Jul 2026 17:14:34 +0200 Subject: [PATCH] Exclude deactivated owners from asset table picker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The inline owner picker on the assets table queried people without a state filter, so deactivated profiles remained selectable as owners. Restrict it to ACTIVE and PENDING to match the other owner pickers, keeping pending members assignable while dropping deactivated ones. Signed-off-by: Émile Ré --- apps/console/src/components/table/PeopleCell.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/console/src/components/table/PeopleCell.tsx b/apps/console/src/components/table/PeopleCell.tsx index f4e08c5a6..6e8f15611 100644 --- a/apps/console/src/components/table/PeopleCell.tsx +++ b/apps/console/src/components/table/PeopleCell.tsx @@ -37,7 +37,7 @@ export function PeopleCell(props: Props) { query={peopleQuery} variables={{ organizationId: props.organizationId, - filter: { contractEnded: false }, + filter: { contractEnded: false, states: ["ACTIVE", "PENDING"] }, }} items={data => data.organization?.profiles?.edges.map(edge => edge.node) ?? []}