You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm trying to figure out where the .index property for links and nodes is generated. I'm trying to investigate why the code below removes the wrong link when I try to remove many links at a time:
The result is that the wrong link gets removed and I'm not sure why. I believe the culprit is the index property in the splice method, which might be getting overwritten when retrieved. But the question is, where is the .index property getting assigned? I haven't been able to find it in the codebase.
The text was updated successfully, but these errors were encountered:
Hi, I'm trying to figure out where the
.index
property for links and nodes is generated. I'm trying to investigate why the code below removes the wrong link when I try to remove many links at a time:and here's my full code, where
removeLink
is called:The result is that the wrong link gets removed and I'm not sure why. I believe the culprit is the index property in the splice method, which might be getting overwritten when retrieved. But the question is, where is the .index property getting assigned? I haven't been able to find it in the codebase.
The text was updated successfully, but these errors were encountered: