Add multi-apply box/feature, use it in etymology-theme to apply tags onto all segments of the same street

This commit is contained in:
Pieter Vander Vennet 2021-10-12 02:12:45 +02:00
parent d0dfe9f607
commit d3550fefbe
22 changed files with 355 additions and 78 deletions

View file

@ -217,7 +217,7 @@ export class Translation extends BaseUIElement {
static fromMap(transl: Map<string, string>) {
const translations = {}
transl.forEach((value, key) => {
transl?.forEach((value, key) => {
translations[key] = value
})
return new Translation(translations);