forked from MapComplete/MapComplete
Chore: housekeeping, linting
This commit is contained in:
parent
f942529755
commit
30d00eb06d
74 changed files with 998 additions and 623 deletions
|
|
@ -44,11 +44,13 @@
|
|||
if (byKey) {
|
||||
return byKey
|
||||
}
|
||||
return trs.find(tr => tr.mappings.some(mapping => {
|
||||
const ifTags = Or.construct(Utils.NoNull([mapping.if, mapping.alsoShowIf]))
|
||||
const keys = ifTags.usedKeys()
|
||||
return keys.some(k => k == key)
|
||||
}))
|
||||
return trs.find((tr) =>
|
||||
tr.mappings.some((mapping) => {
|
||||
const ifTags = Or.construct(Utils.NoNull([mapping.if, mapping.alsoShowIf]))
|
||||
const keys = ifTags.usedKeys()
|
||||
return keys.some((k) => k == key)
|
||||
})
|
||||
)
|
||||
}
|
||||
|
||||
const mergedCount: Store<
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue