Compare commits

..

No commits in common. "ea7a4a560b70c2e83b08a2c35d11da38881accce" and "f63e17775c261c994f289f9d0797be3a2c3a6a3e" have entirely different histories.

View File

@ -20,7 +20,6 @@
$: searchvalue = "";
const dispatch = createEventDispatcher();
function cancelModal() {
json_output = [];
import_modal_open = false;
dispatch("cancel");
}
@ -38,19 +37,10 @@
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" && 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 = "";
@ -357,6 +347,7 @@
</button>
<button
on:click={() => {
json_output = [];
cancelModal();
}}
type="button"