feat: improve user assignments via quick add magic #3348

Merged
konrad merged 18 commits from feature/better-user-search-assignees into main 2023-06-05 15:03:16 +00:00
Showing only changes of commit 10ac1ff66a - Show all commits

View File

@ -109,7 +109,7 @@ const getItemsFromPrefix = (text: string, prefix: string): string[] => {
return
}
if (p.substring(0, 1) === prefix) {
if (p.startsWith(prefix)) {
dpschen marked this conversation as resolved Outdated

Picky: use startsWith

Picky: use `startsWith`

Done

Done
p = p.substring(1)
}