perf: Slim down trpc queries in Settings Layout (#20918)

* slim down settings layout by removing server queries

* add check method

* fix type check

* refactor
This commit is contained in:
Benny Joo authored and GitHub committed 2025-04-23 20:13:26 +00:00
1 parent 513f54f4fe
commit d844fd6ef7
5 files changed
+33 -54

No files matched your search

@@ -305,6 +305,13 @@ export class OrganizationRepository {
},
},
},
select: {
parentId: true,
id: true,
name: true,
logoUrl: true,
slug: true,
},
});
return teamsInOrgIamNotPartOf;