Open jo19in1 opened 2 years ago
@jo19in1 a fix is in the progress for this.
@manV please close this with PR reference if fixed.
@manV pls. update this
I have a case when this will occur, when we have expanded up to host or container level and we collapse a parent node 2 levels above. Currently we only tell server to collapse the parent node which is 2 levels above but server doesn't know that some of the children 2 levels deep were also expanded. It would still think they are expanded.
Now if we try to expand children 2 levels deep again, server thinks they are already expanded and returns nothing, so UI hangs in the loading state forever.
We can recursively tell server to collapse expanded children up-to the parent so this issue does not occur. PR is at https://github.com/deepfence/ThreatMapper/pull/636
this is also related https://github.com/deepfence/ThreatMapper/pull/640
4.I think ideally it should have been a non-expandable line item, that only brings up a side panel when clicked, example this mongod container