forked from MapComplete/MapComplete
Refactoring: port unit picker
This commit is contained in:
parent
622df2df19
commit
2b05d79dbb
8 changed files with 188 additions and 67 deletions
|
@ -199,7 +199,7 @@ export class Unit {
|
|||
) {
|
||||
continue
|
||||
}
|
||||
let countries: string | string[] = country()
|
||||
let countries: string | string[] = country() ?? []
|
||||
if (typeof countries === "string") {
|
||||
countries = countries.split(",")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue