플랜 삭제 / 이동 이벤트 버블링
This commit is contained in:
parent
f5b37e5bd1
commit
8fe9e11f1d
@ -42,7 +42,9 @@ export default function CanvasLayout({ children }) {
|
|||||||
{index !== 0 && (
|
{index !== 0 && (
|
||||||
<i
|
<i
|
||||||
className="close"
|
className="close"
|
||||||
onClick={(e) =>
|
onClick={(e) => {
|
||||||
|
//삭제 아이콘 눌렀는데 handleCurrentPlan실행되서 추가
|
||||||
|
e.stopPropagation()
|
||||||
swalFire({
|
swalFire({
|
||||||
text: `Plan ${plan.planNo} ` + getMessage('plan.message.confirm.delete'),
|
text: `Plan ${plan.planNo} ` + getMessage('plan.message.confirm.delete'),
|
||||||
type: 'confirm',
|
type: 'confirm',
|
||||||
@ -50,7 +52,7 @@ export default function CanvasLayout({ children }) {
|
|||||||
handleDeletePlan(e, plan)
|
handleDeletePlan(e, plan)
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
}
|
}}
|
||||||
></i>
|
></i>
|
||||||
)}
|
)}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user