Revert "The booker get’s the Ui option to reschedule but can’t reschedule (#3061)"

This reverts commit 8cfc91df95.
This commit is contained in:
zomars committed 2022-06-15 09:24:12 -06:00
1 parent 3e777dfaeb
commit 833adaf7e9
1 file changed
+1 -4
+1 -4
View File
@@ -420,7 +420,6 @@ export default function Success(props: SuccessProps) {
</div>
{!needsConfirmation &&
!isCancelled &&
bookingInfo &&
(!isCancellationMode ? (
<div className="border-bookinglightest text-bookingdark mt-2 grid grid-cols-3 border-b py-4 text-left dark:border-gray-900">
<span className="flex self-center font-medium text-gray-700 ltr:mr-2 rtl:ml-2 dark:text-gray-50">
@@ -848,9 +847,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {
}
const bookingInfo = await prisma.booking.findFirst({
where: {
id: bookingId,
},
where,
select: {
title: true,
uid: true,