remove bug

This commit is contained in:
ilia 2022-11-02 18:35:23 +03:00
parent 61c441572b
commit e6abad5510

View File

@ -263,7 +263,7 @@ function postCircles() {
function postRois() { function postRois() {
roisAttrs = [] roisAttrs = []
roisAttrs = roisAttrsconcat(app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().find('.roi-group').map((e) => { roisAttrs = roisAttrs.concat(app.getActiveLayerGroup().getActiveDrawLayer().getKonvaLayer().find('.roi-group').map((e) => {
return e.children.filter((e) => e.attrs.name == 'shape').map(e => {return {attrs: e.attrs, parent: e.parent.attrs}}) return e.children.filter((e) => e.attrs.name == 'shape').map(e => {return {attrs: e.attrs, parent: e.parent.attrs}})
})) }))
return roisAttrs.flat().map((e) => { return roisAttrs.flat().map((e) => {