julien-nc / cospend-nc

💰 💲hared budget manager Nextcloud app
GNU Affero General Public License v3.0
226 stars 29 forks source link

Statistics section has mixed up values for "Who paid for this category?" and "What did they pay for?" #249

Open regdude opened 9 months ago

regdude commented 9 months ago

Noticed that the "Who paid for this category?" and "What did they pay for?" values in the drop down menu are mixed up. "Who paid for this category?" currently shows members, but "What did they pay for?" shows categories.

image

I believe the issue is in this file: https://github.com/julien-nc/cospend-nc/blob/main/src/components/statistics/Statistics.vue#L286

julien-nc commented 6 months ago

I'm not sure I understand what you mean.

All seems fine to me.

regdude commented 6 months ago

You are right, the text confused me until I understood what the dropdown actually does. Maybe you could consider changing the text so it is more obvious on what the filtering will do?

Something along the lines: Who paid for this category? -> Show who paid for category $category What did they pay for? -> Show what did user pay for $user