Skip to content

Commit

Permalink
fix: modified code in climate, forest apps in orderConfirm. & search-…
Browse files Browse the repository at this point in the history
…utils
  • Loading branch information
aniketceminds committed Nov 22, 2024
1 parent e8bf7c9 commit 16387f2
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 16 deletions.
2 changes: 1 addition & 1 deletion apps/dragon-foods/pages/orderConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const OrderConfirmation = () => {
successOrderMessage: 'Request Confirmed!',
gratefulMessage: 'The dataset will be shared via the chosen mode',
orderIdMessage: '',
trackOrderMessage: user?.email ? `<email ID: ${user?.email}>` : '',
trackOrderMessage: user?.email ? `email ID: ${user?.email}` : '',
buttons: [
{
text: 'Go Back Home',
Expand Down
2 changes: 1 addition & 1 deletion apps/earth-support-initiative/pages/orderConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const OrderConfirmation = () => {
successOrderMessage: 'Request Confirmed!',
gratefulMessage: 'The dataset will be shared via the chosen mode',
orderIdMessage: '',
trackOrderMessage: user?.email ? `<email ID: ${user?.email}>` : '',
trackOrderMessage: user?.email ? `email ID: ${user?.email}` : '',
buttons: [
{
text: 'Go Back Home',
Expand Down
3 changes: 1 addition & 2 deletions apps/earth-support-initiative/pages/product.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import { convertProductTagsIntoFormat, getSelectedProductDetails } from '../util

const terms = [
{
label:
'<span style="font-weight:500">Accept <a style="color:#00B088; text-decoration: underline">Terms and Conditions</a></span>',
label: '<span style="font-weight:500">Accept</span>',
value: 'terms'
}
]
Expand Down
3 changes: 3 additions & 0 deletions apps/earth-support-initiative/utils/search-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export const parseSearchlist = (data: SearchResponseModel[]) => {
item: {
...item,
short_desc: provider.short_desc,
...(provider.long_desc && {
productInfo: provider.long_desc
}),
images: item.images,
rating: provider.rating
},
Expand Down
2 changes: 1 addition & 1 deletion apps/envirogrowth/pages/orderConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const OrderConfirmation = () => {
successOrderMessage: 'Request Confirmed!',
gratefulMessage: 'The dataset will be shared via the chosen mode',
orderIdMessage: '',
trackOrderMessage: user?.email ? `<email ID: ${user?.email}>` : '',
trackOrderMessage: user?.email ? `email ID: ${user?.email}` : '',
buttons: [
{
text: 'Go Back Home',
Expand Down
3 changes: 1 addition & 2 deletions apps/envirogrowth/pages/product.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import { convertProductTagsIntoFormat, getSelectedProductDetails } from '../util

const terms = [
{
label:
'<span style="font-weight:500">Accept <a style="color:#8A7012; text-decoration: underline">Terms and Conditions</a></span>',
label: '<span style="font-weight:500">Accept</span>',
value: 'terms'
}
]
Expand Down
3 changes: 3 additions & 0 deletions apps/envirogrowth/utils/search-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export const parseSearchlist = (data: SearchResponseModel[]) => {
item: {
...item,
short_desc: provider.short_desc,
...(provider.long_desc && {
productInfo: provider.long_desc
}),
images: item.images,
rating: provider.rating
},
Expand Down
2 changes: 1 addition & 1 deletion apps/harmoni-aids/pages/orderConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const OrderConfirmation = () => {
successOrderMessage: 'Request Confirmed!',
gratefulMessage: 'The dataset will be shared via the chosen mode',
orderIdMessage: '',
trackOrderMessage: user?.email ? `<email ID: ${user?.email}>` : '',
trackOrderMessage: user?.email ? `email ID: ${user?.email}` : '',
buttons: [
{
text: 'Go Back Home',
Expand Down
3 changes: 1 addition & 2 deletions apps/harmoni-aids/pages/product.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import { convertProductTagsIntoFormat, getSelectedProductDetails } from '../util

const terms = [
{
label:
'<span style="font-weight:500">Accept <a style="color:#00B088; text-decoration: underline">Terms and Conditions</a></span>',
label: '<span style="font-weight:500">Accept</span>',
value: 'terms'
}
]
Expand Down
3 changes: 3 additions & 0 deletions apps/harmoni-aids/utils/search-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export const parseSearchlist = (data: SearchResponseModel[]) => {
item: {
...item,
short_desc: provider.short_desc,
...(provider.long_desc && {
productInfo: provider.long_desc
}),
images: item.images,
rating: provider.rating
},
Expand Down
2 changes: 1 addition & 1 deletion apps/sky-analytics/pages/orderConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const OrderConfirmation = () => {
successOrderMessage: 'Request Confirmed!',
gratefulMessage: 'The dataset will be shared via the chosen mode',
orderIdMessage: '',
trackOrderMessage: user?.email ? `<email ID: ${user?.email}>` : '',
trackOrderMessage: user?.email ? `email ID: ${user?.email}` : '',
buttons: [
{
text: 'Go Back Home',
Expand Down
3 changes: 1 addition & 2 deletions apps/sky-analytics/pages/product.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ import { convertProductTagsIntoFormat, getSelectedProductDetails } from '../util

const terms = [
{
label:
'<span style="font-weight:500">Accept <a style="color:#2C5D86; text-decoration: underline">Terms and Conditions</a></span>',
label: '<span style="font-weight:500">Accept</span>',
value: 'terms'
}
]
Expand Down
3 changes: 3 additions & 0 deletions apps/sky-analytics/utils/search-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export const parseSearchlist = (data: SearchResponseModel[]) => {
item: {
...item,
short_desc: provider.short_desc,
...(provider.long_desc && {
productInfo: provider.long_desc
}),
images: item.images,
rating: provider.rating
},
Expand Down
2 changes: 1 addition & 1 deletion apps/state-forest-department/pages/orderConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const OrderConfirmation = () => {
successOrderMessage: 'Request Confirmed!',
gratefulMessage: 'The dataset will be shared via the chosen mode',
orderIdMessage: '',
trackOrderMessage: user?.email ? `<email ID: ${user?.email}>` : '',
trackOrderMessage: user?.email ? `email ID: ${user?.email}` : '',
buttons: [
{
text: 'Go Back Home',
Expand Down
3 changes: 1 addition & 2 deletions apps/state-forest-department/pages/product.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import { convertProductTagsIntoFormat, getSelectedProductDetails } from '../util

const terms = [
{
label:
'<span style="font-weight:500">Accept <a style="color:#00B088; text-decoration: underline">Terms and Conditions</a></span>',
label: '<span style="font-weight:500">Accept</span>',
value: 'terms'
}
]
Expand Down
3 changes: 3 additions & 0 deletions apps/state-forest-department/utils/search-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ export const parseSearchlist = (data: SearchResponseModel[]) => {
item: {
...item,
short_desc: provider.short_desc,
...(provider.long_desc && {
productInfo: provider.long_desc
}),
images: item.images,
rating: provider.rating
},
Expand Down

0 comments on commit 16387f2

Please sign in to comment.