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
If we access a label endpoint chart via the Summary tab, it will show up as the only endpoint selected on the Endpoint tab
Actual behavior
After deselecting a label in the Endpoints tab, if we try to acess it again via the button on Summary tab, the label will not show as Selected again.
Steps to reproduce
Start a test
Acces the Summary tab
Choose an ednpoint and click on the icon button on the right to taeyou to the Endpoint tab
In the Ednpoints tab, deselect the label
Return to Summary tab and repeat 3.
The label will not be selected
Additional information
This happens because the label endpoint being sent to be displayed on the Endpoints tab is the same. Since its being used an useEffect in RunEndpointsChart.js to evaluate if a label endpoint is being received, when we sent it the second time, the value is equal to the previous one, so the useEffect isn't triggered, so the label to be displayed is not triggered and the empty array set by deselecting the label is maintained.
Possible fix
Evaluate the label endpoint always even if the value is the same
The text was updated successfully, but these errors were encountered:
Expected behavior
If we access a label endpoint chart via the Summary tab, it will show up as the only endpoint selected on the Endpoint tab
Actual behavior
After deselecting a label in the Endpoints tab, if we try to acess it again via the button on Summary tab, the label will not show as Selected again.
Steps to reproduce
Additional information
This happens because the label endpoint being sent to be displayed on the Endpoints tab is the same. Since its being used an useEffect in RunEndpointsChart.js to evaluate if a label endpoint is being received, when we sent it the second time, the value is equal to the previous one, so the useEffect isn't triggered, so the label to be displayed is not triggered and the empty array set by deselecting the label is maintained.
Possible fix
Evaluate the label endpoint always even if the value is the same
The text was updated successfully, but these errors were encountered: