v1.6.3: fix project file upload, filter responsible user by permission
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -105,7 +105,7 @@ export default function ProjectDetail() {
|
||||
const isPending = projectQuery.isPending;
|
||||
const notes: Note[] = project?.project_notes || [];
|
||||
|
||||
const { data: usersData } = useQuery(userListOptions());
|
||||
const { data: usersData } = useQuery(userListOptions("projects.view"));
|
||||
const rawUsers = ((usersData as Record<string, unknown>)?.items ??
|
||||
usersData ??
|
||||
[]) as any[];
|
||||
|
||||
Reference in New Issue
Block a user