Remove 'userIsOwner' from isCancelled (#7773)
parent
09af14b3f4
commit
b20c0df4e8
|
@ -272,10 +272,8 @@ export default function Success(props: SuccessProps) {
|
||||||
const isCancelled =
|
const isCancelled =
|
||||||
status === "CANCELLED" ||
|
status === "CANCELLED" ||
|
||||||
status === "REJECTED" ||
|
status === "REJECTED" ||
|
||||||
(isCancellationMode &&
|
(!!seatReferenceUid &&
|
||||||
(!!seatReferenceUid
|
!bookingInfo.seatsReferences.some((reference) => reference.referenceUid === seatReferenceUid));
|
||||||
? !bookingInfo.seatsReferences.some((reference) => reference.referenceUid === seatReferenceUid)
|
|
||||||
: !userIsOwner));
|
|
||||||
|
|
||||||
const telemetry = useTelemetry();
|
const telemetry = useTelemetry();
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
Loading…
Reference in New Issue