parent
acf0562851
commit
7dd0881d29
@ -37,12 +37,10 @@
|
||||
let orgs = [];
|
||||
RunnerOrganizationService.runnerOrganizationControllerGetAll().then((val) => {
|
||||
orgs = val;
|
||||
console.log(val);
|
||||
});
|
||||
let teams = [];
|
||||
RunnerTeamService.runnerTeamControllerGetAll().then((val) => {
|
||||
teams = val;
|
||||
console.log(val);
|
||||
});
|
||||
let selected_org;
|
||||
let selected_org_or_team;
|
||||
@ -142,6 +140,7 @@
|
||||
mapped
|
||||
)
|
||||
.then((resp) => {
|
||||
current_runners = current_runners.concat(resp);
|
||||
toast.hideToast();
|
||||
recent_processed = true;
|
||||
Toastify({
|
||||
@ -150,7 +149,6 @@
|
||||
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
|
||||
}).showToast();
|
||||
cancelModal();
|
||||
current_runners = current_runners.concat(mapped);
|
||||
})
|
||||
.catch((err) => {
|
||||
toast.hideToast();
|
||||
@ -164,6 +162,7 @@
|
||||
mapped
|
||||
)
|
||||
.then((resp) => {
|
||||
current_runners = current_runners.concat(resp);
|
||||
toast.hideToast();
|
||||
recent_processed = true;
|
||||
Toastify({
|
||||
@ -172,7 +171,6 @@
|
||||
backgroundColor: "linear-gradient(to right, #00b09b, #96c93d)",
|
||||
}).showToast();
|
||||
cancelModal();
|
||||
current_runners = current_runners.concat(mapped);
|
||||
})
|
||||
.catch((err) => {
|
||||
toast.hideToast();
|
||||
|
@ -43,7 +43,7 @@
|
||||
passed_team={{}}
|
||||
passed_orgs={[]}
|
||||
passed_org={{}}
|
||||
current_runners={current_runners}
|
||||
bind:current_runners
|
||||
opened_from="RunnerOverview"
|
||||
bind:import_modal_open />
|
||||
{/if}
|
||||
|
Loading…
x
Reference in New Issue
Block a user