code4romania / code4romania/rezultate-vot-client

[2024 FE] Bucharest mayor elections does not display data correctly

Open
#156 0 comments 0 reactions 0 assignees View on GitHub
🔥 highpriority bug frontend
Dominant language
TypeScript
Stars
5
Forks
13
PR merge metrics
No merged PRs in 30d

Description

When I select Local elections the displayed data is incorrect in some parts of the page:

Steps to reproduce:
1. Go to Homepage
2. Select Alegeri locale 2020
3. Select Primar
4. Select Primarul Capitalei
5. Under the title "Alegeri locale 2020" the section title changes from "Primar" to "Presedinte Consiliu Judetean"
![Screenshot 2024-06-04 at 13 42 13](https://github.com/code4romania/rezultate-vot-client/assets/45068169/6f01693d-7f56-46be-9819-a98166afb07c)

6. The data displayed on the results bar is correct (displays the results for general elections in Bucharest)
7. The data displayed on the map is "Presedinte Consiliu Judetean 2020" and the corresponding map.

Moreover
I cannot go further in-depth to check the sectors because i do not have this option in the UAT dropdown
![Screenshot 2024-06-04 at 13 43 56](https://github.com/code4romania/rezultate-vot-client/assets/45068169/40235fc5-fef2-44be-aab1-58b3aa04289b)

If I select "Prezenta la vot"
1. i get the correct map for Bucharest
2. None of the sectors is clickable on the map
3. The section title is still "Presedinte Consiliu Judetean"
![Screenshot 2024-06-04 at 13 44 14](https://github.com/code4romania/rezultate-vot-client/assets/45068169/eb0073c4-e0ac-40c2-bc10-e34bc152a196)


Here is also a video of the above.
https://github.com/code4romania/rezultate-vot-client/assets/45068169/7d8b4e6e-9bea-4965-9f61-bf33aa0992d1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.