Fixes candidate list showing nothing
What does this MR do and why?
Fixes candidate list showing nothing
Candidate list was being refreshed and items would disappear when changing tabs, since query variables were passed in a wrong way.
Screenshots or screen recordings
Before
After
How to set up and validate locally
-
In rails console enable the feature flag
Feature.enable(:model_registry)
-
Create a model and a bunch of candidates
p = Project.find_by_id(1) m = Ml::FindOrCreateModelService.new(p, "model_1").execute 50.times { |i| Ml::CreateCandidateService.new(m.default_experiment, {}).execute }
-
Navigate to
<gdk>/<project>/-/ml/models
and select the model, then select theVersion candidates
tab, switch toVersion
and back toVersion candidates
: data should still be displayed and navigation should work