Small bugfixes - feature/64-dialog_clearing_bug #75

Merged
philipp merged 4 commits from feature/64-dialog_clearing_bug into dev 2021-02-20 15:54:55 +00:00
Showing only changes of commit 44ed633cbf - Show all commits

View File

@ -38,10 +38,16 @@
let orgs = []; let orgs = [];
RunnerOrganizationService.runnerOrganizationControllerGetAll().then((val) => { RunnerOrganizationService.runnerOrganizationControllerGetAll().then((val) => {
orgs = val; orgs = val;
if(opened_from === 'OrgOverview'){
selected_org = orgs[0].id
}
}); });
let teams = []; let teams = [];
RunnerTeamService.runnerTeamControllerGetAll().then((val) => { RunnerTeamService.runnerTeamControllerGetAll().then((val) => {
teams = val; teams = val;
if (opened_from === "RunnerOverview") {
selected_org_or_team = "TEAM_" + teams[0].id;
}
}); });
let selected_org; let selected_org;
$: selected_org_or_team = ""; $: selected_org_or_team = "";