Added ability to show currently selected profile
Added the ability for the web app to show the currently selected profile upon browser load. Previously the application was showing the wrong profile when loading a new client during a run, and backlog information was shown on top of the incorrect graph.
This commit is contained in:
parent
21cf3b6a3e
commit
26f02996c3
@ -426,6 +426,11 @@ $(document).ready(function()
|
||||
if (x.profile)
|
||||
{
|
||||
selected_profile_name = x.profile.name;
|
||||
$.each(profiles, function(i,v) {
|
||||
if(v.name == x.profile.name) {
|
||||
updateProfile(i);
|
||||
$('#e2').select2('val', i);
|
||||
});
|
||||
}
|
||||
|
||||
$.each(x.log, function(i,v) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user