committed by
GitHub Enterprise
parent
6dba109963
commit
5713344d28
@@ -139,7 +139,7 @@ android {
|
||||
applicationId "com.avapp"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 17
|
||||
versionCode 20
|
||||
versionName "Address verification"
|
||||
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
<resources>
|
||||
<string name="app_name">AVAPP</string>
|
||||
<string name="app_name">Address verification</string>
|
||||
</resources>
|
||||
|
||||
2
app.json
2
app.json
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"name": "AVAPP",
|
||||
"displayName": "AVAPP"
|
||||
"displayName": "Address Verification"
|
||||
}
|
||||
|
||||
@@ -81,13 +81,16 @@ const ListItem: React.FC<IListItem> = props => {
|
||||
!isTodoItem &&
|
||||
!!(intermediateTodoListMap?.[caseId] || selectedTodoListMap?.[caseId]);
|
||||
|
||||
const address = detail.currentTask?.metadata?.address;
|
||||
const address = detail.currentTask?.metadata;
|
||||
const poneNumber = detail.currentTask?.metadata?.primaryPhoneNumber;
|
||||
const taskTitle =
|
||||
detail.currentTask?.taskType || detail?.currentTask?.title;
|
||||
|
||||
const communicationAddress = getCommunicationAddress(address);
|
||||
const displayAddress = communicationAddress || poneNumber || '';
|
||||
|
||||
const displayAddress = address?.addressLine
|
||||
? address.addressLine
|
||||
: poneNumber
|
||||
? poneNumber
|
||||
: '';
|
||||
|
||||
// @ts-ignore
|
||||
const caseStatus = displayStatuses[detail.caseStatus] || displayStatuses[detail.caseVerdict];
|
||||
|
||||
@@ -39,7 +39,7 @@ const ClosedStepperRenderer: React.FC<ClosedStepperProps> = props => {
|
||||
].taskStatus === CONTEXT_TASK_STATUSES.VERIFICATION_SUCCESS
|
||||
);
|
||||
});
|
||||
const tasksToRender = tasks.slice(0, verifiedIndex + 1);
|
||||
const tasksToRender = verifiedIndex>=0 ? tasks.slice(0, verifiedIndex + 1) : tasks;
|
||||
return (
|
||||
<>
|
||||
{tasksToRender.map((task, index) => {
|
||||
|
||||
Reference in New Issue
Block a user