feature/14-team-management #34

Manually merged
philipp merged 10 commits from feature/14-team-management into dev 2021-01-15 21:55:52 +00:00
2 changed files with 4 additions and 11 deletions
Showing only changes of commit 07f2e65fc7 - Show all commits

View File

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

View File

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