plans 2개 이상일때 plan1 삭제기능 추가
This commit is contained in:
parent
6a18c93fbc
commit
74d5db411d
@ -39,7 +39,7 @@ export default function CanvasLayout({ children }) {
|
||||
onClick={() => handleCurrentPlan(plan.id)}
|
||||
>
|
||||
<span>{`Plan ${plan.planNo}`}</span>
|
||||
{index !== 0 && !pathname.includes('/estimate') && !pathname.includes('/simulator') && (
|
||||
{plans.length > 1 && !pathname.includes('/estimate') && !pathname.includes('/simulator') && (
|
||||
<i
|
||||
className="close"
|
||||
onClick={(e) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user