fix: #15857 add managed by tooltip (#15861)

* managed by tooltip

* updated for team admin

* updated for typechecks and naming

* for multiple admins

* update to show team link when more than 2 admins

* nit/chore : variable naming

* improvement

---------

Co-authored-by: Anik Dhabal Babu <[email protected]>
Co-authored-by: unknown <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-08-06 13:46:24 +02:00
1 parent 3c6e9aaa63
commit 100136aae7
4 files changed
+105 -32

No files matched your search

+22
View File
@@ -50,4 +50,26 @@ export const eventTypeSelect = Prisma.validator<Prisma.EventTypeSelect>()({
secondaryEmailId: true,
bookingLimits: true,
durationLimits: true,
parent: {
select: {
team: {
select: {
id: true,
members: {
select: {
user: {
select: {
name: true,
username: true,
email: true,
},
},
role: true,
accepted: true,
},
},
},
},
},
},
});