Merge pull request 'Mitigated null error' (#77) from feature/64-dialog_clearing_bug into dev
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
Reviewed-on: #77
This commit is contained in:
commit
32024cf2c5
|
@ -45,9 +45,12 @@
|
|||
let teams = [];
|
||||
RunnerTeamService.runnerTeamControllerGetAll().then((val) => {
|
||||
teams = val;
|
||||
if (opened_from === "RunnerOverview") {
|
||||
if (opened_from === "RunnerOverview" && teams.length>0) {
|
||||
selected_org_or_team = "TEAM_" + teams[0].id;
|
||||
}
|
||||
if(teams.length==0 && orgs.length>0){
|
||||
selected_org_or_team = "ORG_" + orgs[0].id
|
||||
}
|
||||
});
|
||||
let selected_org;
|
||||
$: selected_org_or_team = "";
|
||||
|
|
Loading…
Reference in New Issue