feat(project): support adding existing team members and prioritize project-specific roles

This commit is contained in:
yiling
2026-06-12 10:00:17 +08:00
parent 8a0358fd98
commit fb76fbd970
15 changed files with 438 additions and 48 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ export function FolderTree({
}: FolderTreeProps) {
const navigate = useNavigate()
const queryClient = useQueryClient()
const { canEdit } = usePermissions()
const { canEdit } = usePermissions(projectId)
const isRecentlyDeleted = useMatch({
from: '/projects/$projectId/recently-deleted',
shouldThrow: false,