Resolve paint code null issue.
This commit is contained in:
@@ -52,7 +52,20 @@ export default ({ config }) => {
|
|||||||
"measurementId": IS_ROME ? "G-G8Z9DRHTZS" : "G-96694D66L2"
|
"measurementId": IS_ROME ? "G-G8Z9DRHTZS" : "G-96694D66L2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
// plugins: config.plugins?.map(plugin => {
|
||||||
|
// if (Array.isArray(plugin) && plugin[0] === '@sentry/react-native/expo') {
|
||||||
|
// return [
|
||||||
|
// '@sentry/react-native/expo',
|
||||||
|
// {
|
||||||
|
// "url": "https://sentry.io/",
|
||||||
|
// "project": IS_ROME ? "romemobile" : "imexmobile",
|
||||||
|
// "organization": IS_ROME ? "rome" : "imex"
|
||||||
|
// }
|
||||||
|
// ];
|
||||||
|
// }
|
||||||
|
// return plugin;
|
||||||
|
// }) || []
|
||||||
|
|
||||||
})
|
})
|
||||||
return newConfig;
|
return newConfig;
|
||||||
|
|||||||
2
app.json
2
app.json
@@ -6,7 +6,7 @@
|
|||||||
"scheme": "imex-mobile-scheme",
|
"scheme": "imex-mobile-scheme",
|
||||||
"userInterfaceStyle": "automatic",
|
"userInterfaceStyle": "automatic",
|
||||||
"extra": {
|
"extra": {
|
||||||
"expover": "32",
|
"expover": "33",
|
||||||
"eas": {
|
"eas": {
|
||||||
"projectId": "ffe01f3a-d507-4698-82cd-da1f1cad450b"
|
"projectId": "ffe01f3a-d507-4698-82cd-da1f1cad450b"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -223,7 +223,9 @@ function JobTombstone({ bodyshop }) {
|
|||||||
</Text>
|
</Text>
|
||||||
<Text>
|
<Text>
|
||||||
{(() => {
|
{(() => {
|
||||||
const paintCodes = Object.keys(job.vehicle.v_paint_codes)
|
const paintCodes = Object.keys(
|
||||||
|
job.vehicle?.v_paint_codes || {}
|
||||||
|
)
|
||||||
.filter(
|
.filter(
|
||||||
(key) =>
|
(key) =>
|
||||||
job.vehicle.v_paint_codes[key] !== "" &&
|
job.vehicle.v_paint_codes[key] !== "" &&
|
||||||
|
|||||||
Reference in New Issue
Block a user