TP-62559 Nearby Cases fixes done (#835)
This commit is contained in:
committed by
GitHub
parent
f29ad1bc8f
commit
a7a4fdff0d
@@ -134,8 +134,8 @@ def reactNativeArchitectures() {
|
||||
return value ? value.split(",") : ["armeabi-v7a", "x86", "x86_64", "arm64-v8a"]
|
||||
}
|
||||
|
||||
def VERSION_CODE = 169
|
||||
def VERSION_NAME = "2.11.3"
|
||||
def VERSION_CODE = 170
|
||||
def VERSION_NAME = "2.11.4"
|
||||
|
||||
android {
|
||||
ndkVersion rootProject.ext.ndkVersion
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"name": "AV_APP",
|
||||
"version": "2.11.3",
|
||||
"buildNumber": "169",
|
||||
"version": "2.11.4",
|
||||
"buildNumber": "170",
|
||||
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"android:dev": "yarn move:dev && react-native run-android",
|
||||
|
||||
@@ -21,7 +21,8 @@ import {
|
||||
DAY_MONTH_DATE_FORMAT,
|
||||
} from '@rn-ui-lib/utils/dates';
|
||||
import { DashBoardScreensEnum } from "@screens/Dashboard/DashBoardScreens";
|
||||
import { BOTTOM_TAB_ROUTES } from "@screens/allCases/constants";
|
||||
import { BOTTOM_TAB_ROUTES, TABS_KEYS } from "@screens/allCases/constants";
|
||||
import { setSortTabSelected } from '@reducers/nearbyCasesSlice';
|
||||
|
||||
// Actions that can be performed on notification
|
||||
export enum NotificationAction {
|
||||
@@ -475,11 +476,13 @@ export const handleRevivalNotificationNavigation = (action: string, notification
|
||||
});
|
||||
break;
|
||||
case NotificationAction.VIEW_NEARBY_CASES:
|
||||
navigateToScreen(PageRouteEnum.HOME, {
|
||||
{
|
||||
store?.dispatch(setSortTabSelected?.(TABS_KEYS.NEAREST_CASE));
|
||||
navigateToScreen(PageRouteEnum.HOME, {
|
||||
screen: BOTTOM_TAB_ROUTES.Cases,
|
||||
params: { allCasesView: true },
|
||||
});
|
||||
break;
|
||||
break;}
|
||||
case NotificationAction.VIEW_AGENT_PERFORMANCE_DASHBOARD:
|
||||
navigateToScreen(BOTTOM_TAB_ROUTES.Dashboard);
|
||||
break;
|
||||
|
||||
@@ -255,7 +255,7 @@ const ListItem: React.FC<IListItem> = (props) => {
|
||||
</View>
|
||||
) : null}
|
||||
|
||||
{distanceOfCaseItem ? (
|
||||
{allCasesView && distanceOfCaseItem ? (
|
||||
<View style={GenericStyles.mb4}>
|
||||
<Tag
|
||||
tagIcon={
|
||||
|
||||
Reference in New Issue
Block a user