@@ -31,12 +31,12 @@
|
||||
}
|
||||
};
|
||||
})();
|
||||
$: teams = [];
|
||||
$: parentGroup = undefined;
|
||||
$: orgs = [];
|
||||
const orgs_promise = RunnerOrganisationService.runnerOrganisationControllerGetAll().then(
|
||||
(val) => {
|
||||
console.log(val);
|
||||
teams = val;
|
||||
orgs = val;
|
||||
val.forEach((t) => {
|
||||
console.log(t.name);
|
||||
});
|
||||
@@ -155,7 +155,7 @@
|
||||
<select
|
||||
bind:value={parentGroup}
|
||||
class="mt-1 focus:ring-indigo-500 focus:border-indigo-500 block w-full shadow-sm rounded-l-md sm:text-sm border-gray-300 border bg-gray-50 text-gray-500 dark:bg-gray-900 dark:text-gray-100 rounded-md p-2">
|
||||
{#each teams as t}
|
||||
{#each orgs as t}
|
||||
<option value={t.id}>{t.name}</option>
|
||||
{/each}
|
||||
</select>
|
||||
|
||||
Reference in New Issue
Block a user