diff --git a/src/features/binnacle/features/vacation/ui/components/vacation-table/vacation-table-desktop/vacation-table.desktop.tsx b/src/features/binnacle/features/vacation/ui/components/vacation-table/vacation-table-desktop/vacation-table.desktop.tsx index d997c651..4166d751 100644 --- a/src/features/binnacle/features/vacation/ui/components/vacation-table/vacation-table-desktop/vacation-table.desktop.tsx +++ b/src/features/binnacle/features/vacation/ui/components/vacation-table/vacation-table-desktop/vacation-table.desktop.tsx @@ -14,9 +14,6 @@ interface Props { const VacationTableDesktop: FC = (props) => { const { t } = useTranslation() const bgColor = useColorModeValue('white', undefined) - const descendentSortingVacationHistory = props.vacations.sort( - (vacationA, vacationB) => vacationB.id - vacationA.id - ) return ( @@ -36,7 +33,7 @@ const VacationTableDesktop: FC = (props) => { )} - {descendentSortingVacationHistory.map((vacation) => ( + {props.vacations.map((vacation) => (
{t('vacation_table.empty')}
{`${chrono(vacation.startDate).format('yyyy-MM-dd')} - ${chrono( vacation.endDate