Fixed scanmodal #155

Merged
niggl merged 2 commits from bugfix/154-scan_select_runner_by_id into dev 2023-02-23 07:34:39 +00:00
Showing only changes of commit 47dedbdc73 - Show all commits

View File

@ -14,7 +14,7 @@
option.firstname + " " + (option.middlename || "") + " " + option.lastname;
const filterRunners = (label, filterText, option) =>
label.toLowerCase().includes(filterText.toLowerCase()) ||
option.value.toString().startsWith(filterText.toLowerCase());
option.value.id.toString().startsWith(filterText.toLowerCase());
function focus(el) {
el.focus();
}
@ -22,6 +22,7 @@
$: runners = [];
RunnerService.runnerControllerGetAll().then((val) => {
runners = val.map(r => {return {label: getRunnerLabel(r), value: r}});
console.log(runners[0])
});
$: distance_input = 0;
$: processed_last_submit = true;