Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fleetbase/navigator-app",
"version": "2.0.5",
"version": "2.0.6",
"license": "AGPL-3.0-or-later",
"author": "Fleetbase Pte Ltd <hello@fleetbase.io>",
"description": "Order management, geolocation tracking and navigation for Fleetbase drivers.",
Expand Down
6 changes: 3 additions & 3 deletions src/screens/DriverOrderManagementScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,10 @@ const DriverOrderManagementScreen = () => {
return (
<YStack py='$5' px='$3' space='$6' flex={1} height='100%'>
<YStack alignItems='center'>
<XStack alignItems='center' bg='$info' borderWidth={1} borderColor='$infoBorder' space='$2' px='$4' py='$2' borderRadius='$5' width='100%'>
<XStack alignItems='center' bg='$info' borderWidth={1} borderColor='$infoBorder' space='$2' px='$3' py='$2' borderRadius='$5' width='100%' flexWrap='wrap'>
<FontAwesomeIcon icon={faInfoCircle} color={theme['$infoText'].val} />
<Text color='$infoText' fontSize={16}>
No current orders for {currentDate}
No current orders for {format(new Date(currentDate), 'yyyy-MM-dd')}
</Text>
</XStack>
</YStack>
Expand Down Expand Up @@ -254,7 +254,7 @@ const DriverOrderManagementScreen = () => {
markedDates={activeOrderMarkedDates}
startingDate={startingDate}
selectedDate={new Date(currentDate)}
onDateSelected={(selectedDate) => setCurrentDate(format(new Date(selectedDate), 'yyyy-MM-dd'))}
onDateSelected={(selectedDate) => setCurrentDate(format(new Date(selectedDate), 'yyyy-MM-dd HH:mm:ss'))}
iconLeft={require('../../assets/nv-arrow-left.png')}
iconRight={require('../../assets/nv-arrow-right.png')}
/>
Expand Down
Loading