[지라 이슈 없음] Log, IF-LGSP-LOG-005 / GNB 클릭 이력 수정
changed files: 1. logActions.js 2. SearchPanel.jsx 3. NoSearchResult.jsx detail note: 1. sendLogGNB 함수 수정: menu와 nowMenu가 같을 경우 예외 처리 2. handleItemFocus 삭제, sendLogGNB를 담당하는 useEffect 수정 3. props handleItemFocus 삭제
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { URLS } from "../api/apiConfig";
|
||||
import { TLogEvent } from "../api/TLogEvent";
|
||||
import { LOG_TP_NO } from "../utils/Config";
|
||||
import { LOG_MENU, LOG_TP_NO } from "../utils/Config";
|
||||
import {
|
||||
formatGMTString,
|
||||
getTimeDifferenceByMilliseconds,
|
||||
@@ -410,8 +410,16 @@ export const sendLogGNB = (menu) => (dispatch, getState) => {
|
||||
return;
|
||||
}
|
||||
|
||||
if (menu === nowMenu || !menuMovSno) {
|
||||
return;
|
||||
if (
|
||||
![
|
||||
LOG_MENU.SEARCH_SEARCH,
|
||||
LOG_MENU.SEARCH_RESULT,
|
||||
LOG_MENU.SEARCH_BEST_SELLER,
|
||||
].includes(menu)
|
||||
) {
|
||||
if (menu === nowMenu || !menuMovSno) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const newParams = {
|
||||
|
||||
Reference in New Issue
Block a user