ataverascrespo / RecordRack

Digital music collections and social platform
https://recordrack.ca
GNU General Public License v3.0
1 stars 1 forks source link

Returning to another user's record list from record page does not return to correct spot #15

Closed ataverascrespo closed 10 months ago

ataverascrespo commented 10 months ago

When navigating to ANOTHER user's record, then navigating back to their record list, the user is not returned to the correct spot in the list of records.

This issue is identical to the issue I described in ticket #5, which means hypothetically, it should get fixed in the same way.

ataverascrespo commented 10 months ago

i was right 👍 this was a simple fix. All I had to do was add a truthy validation to check if there were records already loaded, and only load them in the event they didn't exist. Previously, they were loading records on every page load.