feat: Show routing reason on booking page [CAL-4814] (#18053)
This commit is contained in:
1 parent
a466e8eef7
commit
44d6c1f3fb
4 files changed
+245
-162
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import { Prisma as PrismaClientType } from "@prisma/client";
|
||||
|
||||
import { parseRecurringEvent, parseEventTypeColor } from "@calcom/lib";
|
||||
import getAllUserBookings from "@calcom/lib/bookings/getAllUserBookings";
|
||||
import type { PrismaClient } from "@calcom/prisma";
|
||||
@@ -283,6 +285,10 @@ export async function getBookings({
|
||||
},
|
||||
},
|
||||
},
|
||||
assignmentReason: {
|
||||
orderBy: { createdAt: PrismaClientType.SortOrder.desc },
|
||||
take: 1,
|
||||
},
|
||||
};
|
||||
|
||||
const [
|
||||
|
||||
Reference in new issue
Block a user