ordering-ui-react-native 0.15.97 → 0.15.98
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils/index.tsx +1 -1
package/package.json
CHANGED
package/src/utils/index.tsx
CHANGED
|
@@ -450,7 +450,7 @@ export const orderCommentList = (value: string) => {
|
|
|
450
450
|
|
|
451
451
|
if (!messages[status]) return null
|
|
452
452
|
|
|
453
|
-
const list = messages[status].map((val: any, i: number) => ({ key: i, value: val, content: t(`REJECT_REASON_${val.toUpperCase()}`, val.
|
|
453
|
+
const list = messages[status].map((val: any, i: number) => ({ key: i, value: val, content: t(`REJECT_REASON_${val.toUpperCase()}`, val.replace(/_/g, ' ')) }))
|
|
454
454
|
|
|
455
455
|
return { list }
|
|
456
456
|
}
|