Fix endpoint not being update correctly
What does this MR do?
We were setting the endpoint in the data
function. Because the endpoint is part of an object provided as an object, although the object provided was updating correctly, the endpoint we called was not because it was set in the data
function. More about reactivity in here: https://vuejs.org/v2/guide/reactivity.html
The reason we did not notice this before is because in the pipelines table we see a new row with the new pipeline, therefore with new components instead of the old ones with the updated data. In the MR widget, the components are the same, we don't add new ones, just update their values.
Does this MR meet the acceptance criteria?
- Tests
-
Added for this feature/bug -
All builds are passing
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Branch has no merge conflicts with master
(if it does - rebase it please) -
Squashed related commits together
What are the relevant issue numbers?
Closes #33546 (closed)
Edited by Filipa Lacerda