🚨fix: handleCurrentPlanUrl 주석

This commit is contained in:
yoosangwook 2025-02-05 15:33:31 +09:00
parent 97bdc1f813
commit 9754fb6049

View File

@ -298,7 +298,9 @@ export function usePlan(params = {}) {
const currentPlan = plans.find((plan) => plan.isCurrent)
// if (currentPlan) router.push(`${pathname}?pid=${currentPlan?.planNo}&objectNo=${floorPlanState?.objectNo}`)
if (currentPlan !== currentCanvasPlan) {
router.push(`${pathname}?pid=${currentPlan?.planNo}&objectNo=${currentPlan.objectNo}`)
// todo: [유상욱] 현재 플랜과 현재 캔버스 플랜이 다른 경우 플랜 이동
// 우선 주석처리
// router.push(`${pathname}?pid=${currentPlan?.planNo}&objectNo=${currentPlan.objectNo}`)
}
}