- 단위테스트(Unit Test) #679 수정

- 마할당 회로 있을 때 승압 설정 화면 못가게 수정
This commit is contained in:
Minsiki 2025-02-09 13:43:07 +09:00
parent 6b503a4d57
commit 7edc6752e4
2 changed files with 1 additions and 5 deletions

View File

@ -458,11 +458,8 @@ export default function CircuitTrestleSetting({ id }) {
swalFire({ swalFire({
title: getMessage('not.allocation.exist.module'), title: getMessage('not.allocation.exist.module'),
type: 'alert', type: 'alert',
confirmFn: () => {},
}) })
return return
// canvas.remove(...notAllocationModules)
// canvas.renderAll()
} }
setTabNum(2) setTabNum(2)
} }

View File

@ -61,8 +61,7 @@ export function useCircuitTrestle() {
// 사용된 모듈아이템 목록 // 사용된 모듈아이템 목록
const getUseModuleItemList = () => { const getUseModuleItemList = () => {
console.log('🚀 ~ getUseModuleItemList ~ selectedModules:', selectedModules) return selectedModules?.itemList?.map((m) => {
return moduleSelectionData.module?.itemList?.map((m) => {
return { return {
itemId: m.itemId, itemId: m.itemId,
mixMatlNo: m.mixMatlNo, mixMatlNo: m.mixMatlNo,