mirror of
https://github.com/leaders-of-digital-9-task/dicom-viewer.git
synced 2024-11-25 03:33:44 +03:00
remove bug
This commit is contained in:
parent
61c441572b
commit
e6abad5510
2
index.js
2
index.js
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user