TP-67349 | Nearby cases fix

This commit is contained in:
yashmantri
2024-09-20 14:48:52 +05:30
parent c210c30e03
commit 09bbeb6b37
3 changed files with 5 additions and 5 deletions

View File

@@ -134,8 +134,8 @@ def reactNativeArchitectures() {
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
}
def VERSION_CODE = 194
def VERSION_NAME = "2.13.6"
def VERSION_CODE = 195
def VERSION_NAME = "2.13.7"
android {
ndkVersion rootProject.ext.ndkVersion

View File

@@ -1,7 +1,7 @@
{
"name": "AV_APP",
"version": "2.13.6",
"buildNumber": "194",
"version": "2.13.7",
"buildNumber": "195",
"private": true,
"scripts": {
"android:dev": "yarn move:dev && react-native run-android",

View File

@@ -194,7 +194,7 @@ const ListItem: React.FC<IListItem> = (props) => {
const distanceMapOfNearbyCases =
useAppSelector((state) => state.nearbyCasesSlice.caseReferenceIdToDistanceMap) || {};
const selectedTab = useAppSelector((state) => state?.nearbyCasesSlice?.sortTabSelected);
const distanceOfCaseItem = distanceMapOfNearbyCases.get(caseListItemDetailObj?.id);
const distanceOfCaseItem = distanceMapOfNearbyCases.get(caseListItemDetailObj?.caseReferenceId);
const isNearestCaseView = selectedTab === TABS_KEYS.NEAREST_CASE;
const showInVisitPlanTag = isCaseItemPinnedMainView && !caseCompleted;
const widthStyle = {