Delaminer / plinq

3 stars 1 forks source link

My Network: Popup doesn't always match the contact clicked #45

Open broad-well opened 2 years ago

broad-well commented 2 years ago

The popup's source of information is determined by the index of the contact card clicked among the contact cards shown, not all contact cards. We then index the array with all the contact cards by this index. This assumes that all the contact cards are shown in their original order (i.e., as stored in local storage). To reproduce this bug, search for the last name of a contact that isn't the first to be shown, and then trigger the popup for that contact. The popup shows the details of the originally first contact, not the contact for which the popup is triggered. Furthermore, any search query or filter that reduces the number of contacts shown is very likely to cause such a mismatch.