Demo adjustments, resolve upload issues, remove messaging.
This commit is contained in:
@@ -21,6 +21,7 @@ const mapDispatchToProps = (dispatch) => ({
|
||||
});
|
||||
|
||||
export function JobListItem({ setCameraJob, setCameraJobId, item }) {
|
||||
const { t } = useTranslation();
|
||||
const navigation = useNavigation();
|
||||
const RenderRightAction = (props) => {
|
||||
const navigation = useNavigation();
|
||||
@@ -44,7 +45,7 @@ export function JobListItem({ setCameraJob, setCameraJobId, item }) {
|
||||
const onPress = () => {
|
||||
navigation.push("JobDetail", {
|
||||
jobId: item.id,
|
||||
title: item.ro_number ? item.ro_number : `EST-${item.est_number}`,
|
||||
title: item.ro_number || t("general.labels.na"),
|
||||
});
|
||||
};
|
||||
|
||||
@@ -55,7 +56,7 @@ export function JobListItem({ setCameraJob, setCameraJobId, item }) {
|
||||
<CardItem header bordered first button>
|
||||
<View style={localStyles.item_header}>
|
||||
<H3 style={localStyles.item_header_content}>
|
||||
{item.ro_number ? item.ro_number : `EST-${item.est_number}`}
|
||||
{item.ro_number || t("general.labels.na")}
|
||||
</H3>
|
||||
<Text style={localStyles.item_header_margin}>
|
||||
{item.clm_no || ""}
|
||||
|
||||
Reference in New Issue
Block a user