parent
ccf09f97d5
commit
07f2e65fc7
@ -33,15 +33,9 @@
|
|||||||
})();
|
})();
|
||||||
$: parentGroup = undefined;
|
$: parentGroup = undefined;
|
||||||
$: orgs = [];
|
$: orgs = [];
|
||||||
const orgs_promise = RunnerOrganisationService.runnerOrganisationControllerGetAll().then(
|
RunnerOrganisationService.runnerOrganisationControllerGetAll().then((val) => {
|
||||||
(val) => {
|
orgs = val;
|
||||||
console.log(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;
|
||||||
//
|
//
|
||||||
|
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user