TP-79857 | Allocation on geolocation

This commit is contained in:
yashmantri
2024-08-28 16:59:34 +05:30
parent 30c1a4ee6f
commit b48b6dbdc1
3 changed files with 9 additions and 3 deletions

View File

@@ -204,7 +204,11 @@ const GeolocationAddress: React.FC<IGeolocationAddress> = ({
</View>
{showSimilarGeolocationsCTA ? <ArrowSolidIcon rotateY={180} /> : null}
</View>
<Text dark ellipsizeMode="tail">Address sus wdgwud wdvwhdgw gduwygd uwgd wgdw dgw udw udgu wgd uwd wdgwuduw dwydgw</Text>
{address?.sourceAddress ? (
<Text dark ellipsizeMode="tail">
{address?.sourceAddress}
</Text>
) : null}
{!isFeedbackView ? (
<View style={[GenericStyles.mt8]}>
{isFeedbackPresent ? (

View File

@@ -19,7 +19,7 @@ interface IViewAddressSection {
const ViewAddressSection = ({ caseId }: IViewAddressSection) => {
const caseDetail = useAppSelector((state: RootState) => state.allCases.caseDetails[caseId]) || {};
const { addressString, loanAccountNumber, customerReferenceId } = caseDetail;
const { addressString, loanAccountNumber, customerReferenceId, addressSourceText = AddressGeolocationTabEnum.ADDRESS } = caseDetail;
const viewAllAddressHandler = () => {
addClickstreamEvent(CLICKSTREAM_EVENT_NAMES.FA_VIEW_ADDRESSES_CLICKED, {
@@ -29,7 +29,7 @@ const ViewAddressSection = ({ caseId }: IViewAddressSection) => {
loanAccountNumber,
customerReferenceId,
caseId,
tab: AddressGeolocationTabEnum.GEOLOCATION
tab: addressSourceText
};
navigateToScreen(CaseDetailStackEnum.ADDRESS_GEO, commonParams);
};

View File

@@ -255,6 +255,7 @@ export interface IGeolocation {
clusterLabels: string[];
clusterId: string;
minTimestamp: string;
sourceAddress?: string;
}
export interface EmploymentDetails {
employmentType: string;
@@ -312,6 +313,7 @@ export interface CaseDetail {
geolocations?: IGeolocation[];
employmentDetail?: EmploymentDetails;
unpaidDays?: number;
addressSourceText?: string;
}
export interface AddressesGeolocationPayload {