forked from MapComplete/MapComplete
Attempt to fix MapComplete/MapComplete#2300
This commit is contained in:
parent
3e3b4b9420
commit
a38ff16ffe
1 changed files with 1 additions and 3 deletions
|
@ -214,9 +214,7 @@ export default class NameSuggestionIndex {
|
||||||
for (const nsiItem of actualBrands) {
|
for (const nsiItem of actualBrands) {
|
||||||
const tags = nsiItem.tags
|
const tags = nsiItem.tags
|
||||||
const frequency = frequencies[nsiItem.displayName]
|
const frequency = frequencies[nsiItem.displayName]
|
||||||
const iconUrl = this.getIconExternalUrl(nsiItem, type)
|
const icon = this.getIconUrl(nsiItem)
|
||||||
const hasIcon = iconUrl !== undefined
|
|
||||||
const icon = hasIcon ? this.getIconUrl(nsiItem) : undefined
|
|
||||||
mappings.push({
|
mappings.push({
|
||||||
if: new Tag(type, tags[type]),
|
if: new Tag(type, tags[type]),
|
||||||
addExtraTags: Object.keys(tags)
|
addExtraTags: Object.keys(tags)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue