Fixed orgs/teams not being marked as selected on initial modal opening
ref #64
This commit is contained in:
parent
09b61ec684
commit
44ed633cbf
@ -38,10 +38,16 @@
|
||||
let orgs = [];
|
||||
RunnerOrganizationService.runnerOrganizationControllerGetAll().then((val) => {
|
||||
orgs = val;
|
||||
if(opened_from === 'OrgOverview'){
|
||||
selected_org = orgs[0].id
|
||||
}
|
||||
});
|
||||
let teams = [];
|
||||
RunnerTeamService.runnerTeamControllerGetAll().then((val) => {
|
||||
teams = val;
|
||||
if (opened_from === "RunnerOverview") {
|
||||
selected_org_or_team = "TEAM_" + teams[0].id;
|
||||
}
|
||||
});
|
||||
let selected_org;
|
||||
$: selected_org_or_team = "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user