[251212] fix: FeaturedBrandsPanel Debugging - 2
🕐 커밋 시간: 2025. 12. 12. 17:17:53 📊 변경 통계: • 총 파일: 1개 • 추가: +6줄 📝 수정된 파일: ~ com.twin.app.shoptime/src/views/MainView/MainView.jsx
This commit is contained in:
@@ -257,6 +257,12 @@ export default function MainView({ className, initService }) {
|
|||||||
panels[panels.length - 2]?.name === Config.panel_names.MEDIA_PANEL
|
panels[panels.length - 2]?.name === Config.panel_names.MEDIA_PANEL
|
||||||
) {
|
) {
|
||||||
renderingPanels = panels.slice(-2);
|
renderingPanels = panels.slice(-2);
|
||||||
|
// const hasFeaturedBrandsPanel = panels.some(p => p.name === Config.panel_names.FEATURED_BRANDS_PANEL);
|
||||||
|
// if (hasFeaturedBrandsPanel) {
|
||||||
|
// renderingPanels = panels.slice(-3); // 3개 다 렌더링
|
||||||
|
// } else {
|
||||||
|
// renderingPanels = panels.slice(-2); // 2개만
|
||||||
|
// }
|
||||||
} else {
|
} else {
|
||||||
renderingPanels = panels.slice(-1);
|
renderingPanels = panels.slice(-1);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user