forked from MapComplete/MapComplete
Refactoring: fix small errors, simplify 'sortedByLevehnstein'-function, improve error messgae
This commit is contained in:
parent
97b8202b14
commit
8a0023377a
13 changed files with 27 additions and 19 deletions
|
@ -111,8 +111,7 @@ export class MenuState {
|
|||
"No tagRendering with id '" + highlightTagRendering + "'; maybe you meant:",
|
||||
Utils.sortedByLevenshteinDistance(
|
||||
highlightTagRendering,
|
||||
UserRelatedState.availableUserSettingsIds,
|
||||
(x) => x
|
||||
UserRelatedState.availableUserSettingsIds
|
||||
)
|
||||
)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue