feat: Shows link location and respective icon in /bookings (#12760)

* Add metadata to bookingMinimalSelect

* add: Show link location in /bookings

* Refactor: Update variable declaration and conditional rendering in booking metadata

- Remove explicit type declaration in locationVideoCallUrl assignment
- Use conditional rendering for provider icon based on iconUrl existence

Co-authored-by: Udit Takkar <[email protected]>

* Display URL location exclusively, omitting addresses

---------

Co-authored-by: Udit Takkar <[email protected]>
Co-authored-by: Peer Richelsen <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-12-18 01:28:49 +00:00
1 parent a323e06e88
commit f71759f70b
3 files changed
+47 -2

No files matched your search

+1
View File
@@ -8,4 +8,5 @@ export const bookingMinimalSelect = Prisma.validator<Prisma.BookingSelect>()({
startTime: true,
endTime: true,
attendees: true,
metadata: true,
});