Skip to content

Commit 09fb391

Browse files
Merge pull request #4093 from beckn/develop-1.1.0
Develop 1.1.0
2 parents 2189905 + c450b29 commit 09fb391

File tree

18 files changed

+342
-290
lines changed

18 files changed

+342
-290
lines changed

apps/OSC/locales/en.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ const en: { [key: string]: string } = {
171171
merchantTakingTo: 'Merchant is taking too long',
172172
orderMistake: 'Ordered by mistake',
173173
iHaveChange: 'I’ve changed my mind',
174-
unabletoTrack: 'Unable to get the track url',
174+
unabletoTrack: 'Tracking details are unavailable. Please try again later or contact support.',
175+
175176
cancelOrder: 'Cancel Order',
176177
callCustomer: 'Call Customer Service',
177178
emailCustomer: 'Email Customer Service',

apps/OSC/pages/orderDetails.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,13 @@ const OrderDetails = () => {
200200
image: '/images/trackOrder.svg',
201201
text: t.trackOrder,
202202
onClick: () => {
203-
if (trackingUrl) window.open(trackingUrl, '_blank')
204-
else
205-
dispatch(
206-
feedbackActions.setToastData({
207-
toastData: { message: t.error, display: true, type: 'error', description: t.unabletoTrack }
208-
})
209-
)
203+
// if (trackingUrl) window.open(trackingUrl, '_blank')
204+
// else
205+
dispatch(
206+
feedbackActions.setToastData({
207+
toastData: { message: 'Warning', display: true, type: 'warning', description: t.unabletoTrack }
208+
})
209+
)
210210
}
211211
},
212212
{

0 commit comments

Comments
 (0)