dev #953

Merged
ysCha merged 3 commits from dev into prd-deploy 2026-07-07 16:35:55 +09:00
Showing only changes of commit 8817e72ddb - Show all commits

View File

@ -685,6 +685,18 @@ export default function CircuitTrestleSetting({ id }) {
// ()
const onApply = async () => {
// [NOT-ALLOC-GUARD 2026-07-03] (capture) .
// apply() + , .
const notAllocationModules = canvas.getObjects().filter((obj) => obj.name === POLYGON_TYPE.MODULE && !obj.circuit)
if (notAllocationModules.length > 0) {
swalFire({
text: getMessage('not.allocation.exist.module'),
type: 'alert',
icon: 'warning',
})
return
}
setAllModuleSurfaceIsComplete(false)
setIsGlobalLoading(true)