[지라 이슈 없음] Log, IF-LGSP-LOG-004 / Entry 이력 수정

Terms 여부와 관계 없이 앱 진입 시 해당 로그 생성을 요청하도록 수정

Changed files:
1. commonActions.js
2. logActions.js
3. App.js
4. deepLinkHandler.js

Detail note:
1. action 추가 (setGNBMenu)
2. sendLogGNB 함수 수정
3. deepLink 로직 관련 useEffect 수정
4. handleDeepLink 함수 수정
This commit is contained in:
younghoon100.park
2024-10-22 13:01:07 +09:00
parent 25aa64ba79
commit fcc0445bdc
4 changed files with 17 additions and 13 deletions

View File

@@ -6,7 +6,7 @@ import {
getTimeDifferenceByMilliseconds,
} from "../utils/helperMethods";
import { types } from "./actionTypes";
import { setSecondLayerInfo } from "./commonActions";
import { setGNBMenu, setSecondLayerInfo } from "./commonActions";
export const getUrlByLogTpNo = (logTpNo) => {
switch (logTpNo) {
@@ -431,11 +431,11 @@ export const sendLogGNB = (menu) => (dispatch, getState) => {
outDt: "",
};
dispatch({ type: types.SET_GNB_MENU, payload: menu });
dispatch(setGNBMenu(menu));
dispatch(postLog(newParams));
if (
[1, 2].includes(menuMovSno) &&
[1].includes(menuMovSno) &&
secondLayerInfo &&
Object.keys(secondLayerInfo).length > 0
) {