You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary:
When the website loads for the first time, the dropdown selectors correctly show the current year and race. However, the initial race data displayed in the table is from 2019 instead of the expected current year (2023). This issue arises due to a static definition of the data() function, resulting in conflicting data between the dropdowns and the table.
Steps to Reproduce:
Load the website for the first time.
Observe that the dropdown selectors show the current year (2023) correctly.
Notice that the initial race data displayed in the table is from 2019.
Expected Behavior:
The initial race data displayed in the table should match the current year selected in the dropdown selectors (2023).
Additional Information:
Upon inspecting the code, it was found that there are two different data() functions defined in separate files. One of them has a static definition with selectedYear set to 2019. This causes a discrepancy between the dropdowns (which indicate the correct year) and the table data.
Proposed Solution:
To resolve this issue, the static definition of selectedYear should be updated to dynamically reflect the current year when the website loads.
Please let me know if you need any further information or clarification.
The text was updated successfully, but these errors were encountered:
Summary:
When the website loads for the first time, the dropdown selectors correctly show the current year and race. However, the initial race data displayed in the table is from 2019 instead of the expected current year (2023). This issue arises due to a static definition of the
data()
function, resulting in conflicting data between the dropdowns and the table.Steps to Reproduce:
Expected Behavior:
The initial race data displayed in the table should match the current year selected in the dropdown selectors (2023).
Additional Information:
Upon inspecting the code, it was found that there are two different
data()
functions defined in separate files. One of them has a static definition withselectedYear
set to 2019. This causes a discrepancy between the dropdowns (which indicate the correct year) and the table data.Proposed Solution:
To resolve this issue, the static definition of
selectedYear
should be updated to dynamically reflect the current year when the website loads.Please let me know if you need any further information or clarification.
The text was updated successfully, but these errors were encountered: