forked from MapComplete/MapComplete
chore: refactoring, linting, removing obsolete files
This commit is contained in:
parent
b7a4930583
commit
2bc2a6cddf
54 changed files with 125 additions and 457 deletions
|
@ -35,14 +35,13 @@ class MultiApplyExecutor {
|
|||
}
|
||||
|
||||
if (p.autoapply) {
|
||||
const self = this
|
||||
const relevantValues = p.tagsSource.map((tags) => {
|
||||
const currentValues = p.keysToApply.map((key) => tags[key])
|
||||
// By stringifying, we have a very clear ping when they changec
|
||||
return JSON.stringify(currentValues)
|
||||
})
|
||||
relevantValues.addCallbackD((_) => {
|
||||
self.applyTaggingOnOtherFeatures()
|
||||
relevantValues.addCallbackD(() => {
|
||||
this.applyTaggingOnOtherFeatures()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue