diff --git a/apps/web/components/booking/BookingListItem.tsx b/apps/web/components/booking/BookingListItem.tsx index c7bdab61..2aed37ab 100644 --- a/apps/web/components/booking/BookingListItem.tsx +++ b/apps/web/components/booking/BookingListItem.tsx @@ -87,11 +87,13 @@ function BookingListItem(booking: BookingItem) { actions: [ { id: "edit", + icon: ClockIcon, label: t("edit_booking"), href: `/reschedule/${booking.uid}`, }, { id: "reschedule_request", + icon: ClockIcon, label: t("send_reschedule_request"), onClick: () => setIsOpenRescheduleDialog(true), }, diff --git a/apps/web/components/ui/TableActions.tsx b/apps/web/components/ui/TableActions.tsx index 1716bd1d..502c6f78 100644 --- a/apps/web/components/ui/TableActions.tsx +++ b/apps/web/components/ui/TableActions.tsx @@ -52,6 +52,12 @@ const DropdownActions = ({ actions, actionTrigger }: { actions: ActionType[]; ac }; const TableActions: FC = ({ actions }) => { + const mobileActions = actions.flatMap((action) => { + if (action.actions) { + return action.actions; + } + return action; + }); return ( <>
@@ -72,12 +78,11 @@ const TableActions: FC = ({ actions }) => { if (!action.actions) { return button; } - return ; })}
- +
); diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index 5254f363..f41566de 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -760,7 +760,7 @@ "reschedule_request_sent": "Reschedule request sent", "reschedule_modal_description": "This will cancel the scheduled meeting, notify the scheduler and ask them to pick a new time.", "reason_for_reschedule_request": "Reason for reschedule request", - "send_reschedule_request": "Send reschedule request", + "send_reschedule_request": "Request reschedule ", "edit_booking": "Edit booking", "reschedule_booking": "Reschedule booking", "former_time": "Former time" diff --git a/packages/ui/Dropdown.tsx b/packages/ui/Dropdown.tsx index 7ce58297..bf19f029 100644 --- a/packages/ui/Dropdown.tsx +++ b/packages/ui/Dropdown.tsx @@ -29,7 +29,7 @@ export const DropdownMenuContent = forwardRef {children}