[No Jira Issue] IF-LGSP-LOG-005 (GNB 이력) Magic Mouse 대응 (HomePanel)
1. actionTypes.js 2. homeActions.js 3. logActions.js 4. deepLinkHandler.js 5. TabLayout.jsx 6. homeReducer.js 7. HomePanel.jsx - updateSpotlightId → updateHomeInfo - modify the deepLinkHandler func - modify the doSendLogGNB func
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { setSecondLayerInfo } from "../actions/commonActions";
|
||||
import { updateHomeInfo } from "../actions/homeActions";
|
||||
import { pushPanel } from "../actions/panelActions";
|
||||
import { LOG_MENU, LOG_TP_NO, panel_names } from "../utils/Config";
|
||||
import { LOG_MENU, panel_names } from "../utils/Config";
|
||||
|
||||
//V2_진입경로코드_진입경로명_MT_노출순번
|
||||
export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
|
||||
@@ -229,17 +229,16 @@ export const handleDeepLink = (contentTarget) => (dispatch, getState) => {
|
||||
}
|
||||
|
||||
if (panelName) {
|
||||
console.log("handleDeepLink - panelName", panelName, panelInfo);
|
||||
const action =
|
||||
panelName === panel_names.HOME_PANEL ? updateHomeInfo : pushPanel;
|
||||
|
||||
dispatch(
|
||||
pushPanel({
|
||||
action({
|
||||
name: panelName,
|
||||
panelInfo: { ...panelInfo, linkTpCd },
|
||||
})
|
||||
);
|
||||
}
|
||||
} else {
|
||||
console.log("handleDeepLink - no target");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user