📌fix: 견적서/발전 시뮬레이션 메뉴에선 plan 삭제 버튼 조건부 렌더링
This commit is contained in:
parent
e0489a8698
commit
2a2e8f1a2f
@ -39,7 +39,7 @@ export default function CanvasLayout({ children }) {
|
|||||||
onClick={() => handleCurrentPlan(plan.id)}
|
onClick={() => handleCurrentPlan(plan.id)}
|
||||||
>
|
>
|
||||||
<span>{`Plan ${plan.planNo}`}</span>
|
<span>{`Plan ${plan.planNo}`}</span>
|
||||||
{index !== 0 && (
|
{index !== 0 && !pathname.includes('/estimate') && !pathname.includes('/simulator') && (
|
||||||
<i
|
<i
|
||||||
className="close"
|
className="close"
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user