This commit is contained in:
Eugene Pankov
2021-05-16 20:15:44 +02:00
parent 8f34c21652
commit f709c9010c

View File

@@ -53,7 +53,7 @@ export class EditConnectionModalComponent {
baudratesAutocomplete = text$ => text$.pipe(
debounceTime(200),
distinctUntilChanged(),
map(q => BAUD_RATES.filter(x => !q || x.toString().startsWith(q)))
map(q => BAUD_RATES.filter(x => !q || x.toString().startsWith(q.toString())))
)
portsFormatter = port => {