parent
bc2a8caf3e
commit
d3a3de2eac
@ -74,8 +74,8 @@
|
|||||||
text: "updating team",
|
text: "updating team",
|
||||||
duration: 2500,
|
duration: 2500,
|
||||||
}).showToast();
|
}).showToast();
|
||||||
teamdata.parentGroup = teamdata.parentGroup.id;
|
|
||||||
let postdata = teamdata;
|
let postdata = teamdata;
|
||||||
|
postdata.parentGroup = teamdata.parentGroup.id;
|
||||||
postdata.contact = postdata.contact === "null" ? null : postdata.contact;
|
postdata.contact = postdata.contact === "null" ? null : postdata.contact;
|
||||||
RunnerTeamService.runnerTeamControllerPut(original.id, postdata)
|
RunnerTeamService.runnerTeamControllerPut(original.id, postdata)
|
||||||
.then((resp) => {
|
.then((resp) => {
|
||||||
@ -371,10 +371,9 @@
|
|||||||
option.id.toString().startsWith(filterText.toLowerCase())}
|
option.id.toString().startsWith(filterText.toLowerCase())}
|
||||||
items={orgs}
|
items={orgs}
|
||||||
showChevron={true}
|
showChevron={true}
|
||||||
placeholder={$_('search-for-runner-by-name-or-id')}
|
placeholder={$_('search-for-an-organization-by-name-or-id')}
|
||||||
noOptionsMessage={$_('no-runners-found')}
|
noOptionsMessage={$_('no-organizations-found')}
|
||||||
selectedValue={undefined || orgs.find((r) => (r.id = original.parentGroup.id))}
|
bind:selectedValue={teamdata.parentGroup}
|
||||||
on:select={(selectedValue) => (teamdata.parentGroup == selectedValue.detail)}
|
|
||||||
on:clear={()=>(teamdata.parentGroup = null)} />
|
on:clear={()=>(teamdata.parentGroup = null)} />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user