Merge branch 'dev' of https://git.jetbrains.space/nalpari/q-cast-iii/qcast-front into dev
This commit is contained in:
commit
fce3f051be
@ -854,14 +854,6 @@ export function useModule() {
|
||||
}
|
||||
|
||||
const alignModule = (type, surfaceArray) => {
|
||||
if (activeModule.circuit) {
|
||||
swalFire({
|
||||
title: getMessage('can.not.remove.module'),
|
||||
icon: 'error',
|
||||
type: 'alert',
|
||||
})
|
||||
return
|
||||
}
|
||||
surfaceArray.forEach((surface) => {
|
||||
const modules = surface.modules
|
||||
|
||||
@ -950,6 +942,7 @@ export function useModule() {
|
||||
canvas.remove(module)
|
||||
})
|
||||
})
|
||||
canvas.renderAll()
|
||||
setModuleStatisticsData()
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user