Skip to content

Commit

Permalink
Remove duplicate unconfirmed label (calcom#4473)
Browse files Browse the repository at this point in the history
  • Loading branch information
baileypumfleet authored Sep 14, 2022
1 parent b1a1525 commit 34d4175
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions apps/web/components/booking/BookingListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,11 +306,6 @@ function BookingListItem(booking: BookingItemProps) {
</td>
<td className={"flex-1 px-4" + (isRejected ? " line-through" : "")} onClick={onClick}>
<div className="cursor-pointer py-4">
{isPending && (
<Badge variant="orange" className="mb-2 ltr:mr-2 rtl:ml-2">
{t("unconfirmed")}
</Badge>
)}
{!!booking?.eventType?.price && !booking.paid && (
<Badge variant="orange" className="mb-2 ltr:mr-2 rtl:ml-2">
{t("pending_payment")}
Expand All @@ -335,7 +330,11 @@ function BookingListItem(booking: BookingItemProps) {
{!!booking?.eventType?.price && !booking.paid && (
<Tag className="hidden ltr:ml-2 rtl:mr-2 sm:inline-flex">Pending payment</Tag>
)}
{isPending && <Tag className="hidden ltr:ml-2 rtl:mr-2 sm:inline-flex">{t("unconfirmed")}</Tag>}
{isPending && (
<Badge variant="orange" className="hidden ltr:ml-2 rtl:mr-2 sm:inline-flex">
{t("unconfirmed")}
</Badge>
)}
</div>
{booking.description && (
<div
Expand Down

0 comments on commit 34d4175

Please sign in to comment.