@@ -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;
 | 
			
		||||
          //
 | 
			
		||||
 
 | 
			
		||||
@@ -203,7 +203,7 @@
 | 
			
		||||
  </section>
 | 
			
		||||
{:else}
 | 
			
		||||
  {#await promise}
 | 
			
		||||
    organization detail is being loaded...
 | 
			
		||||
    team detail is being loaded...
 | 
			
		||||
  {:catch error}
 | 
			
		||||
    <PromiseError />
 | 
			
		||||
  {/await}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user