Ardas-Legends-Development-Team / AL-frontend

A web frontend for the AL Application.
GNU Affero General Public License v3.0
2 stars 0 forks source link

bug/Bad API/Store interactions causing wrong data #47

Closed VernonRoche closed 1 year ago

VernonRoche commented 1 year ago

Bug

When we open the character modal in region list then open for the first time the rp list, it has the modal characters only. Caused by loadXByNames, which uses the store, while it should not. May happen with other similar API requests, fix them ASAP

Solution

Change the methods that get specific data with parameters to not hold information in the store.

Another solution would be to have another store which would increase progressively with the specific requests we make.