🧹 Team cleanups

ref #14
This commit is contained in:
Philipp Dormann 2021-01-15 22:04:21 +01:00
parent ccf09f97d5
commit 07f2e65fc7
2 changed files with 4 additions and 11 deletions

View File

@ -33,15 +33,9 @@
})();
$: parentGroup = undefined;
$: orgs = [];
const orgs_promise = RunnerOrganisationService.runnerOrganisationControllerGetAll().then(
(val) => {
console.log(val);
orgs = val;
val.forEach((t) => {
console.log(t.name);
});
}
);
RunnerOrganisationService.runnerOrganisationControllerGetAll().then((val) => {
orgs = val;
});
function submit() {
if (processed_last_submit === true) {
processed_last_submit = false;
@ -54,7 +48,6 @@
name: teamname,
})
.then((result) => {
console.log(result);
teamname = "";
modal_open = false;
//

View File

@ -203,7 +203,7 @@
</section>
{:else}
{#await promise}
organization detail is being loaded...
team detail is being loaded...
{:catch error}
<PromiseError />
{/await}