mirror of
https://github.com/leaders-of-digital-9-task/dicom-viewer.git
synced 2024-11-21 18:06:33 +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() {
|
||||
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 roisAttrs.flat().map((e) => {
|
||||
|
|
Loading…
Reference in New Issue
Block a user