forked from MapComplete/MapComplete
Fix: build
This commit is contained in:
parent
8258226abe
commit
2a21040551
2 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,7 @@ import translators from "../../assets/translators.json"
|
||||||
import codeContributors from "../../assets/contributors.json"
|
import codeContributors from "../../assets/contributors.json"
|
||||||
import LayerConfig from "../../Models/ThemeConfig/LayerConfig"
|
import LayerConfig from "../../Models/ThemeConfig/LayerConfig"
|
||||||
import {LayerConfigJson} from "../../Models/ThemeConfig/Json/LayerConfigJson"
|
import {LayerConfigJson} from "../../Models/ThemeConfig/Json/LayerConfigJson"
|
||||||
import usersettings from "../../assets/generated/usersettings.json"
|
import usersettings from "../../assets/generated/layers/usersettings.json"
|
||||||
import Locale from "../../UI/i18n/Locale"
|
import Locale from "../../UI/i18n/Locale"
|
||||||
import LinkToWeblate from "../../UI/Base/LinkToWeblate"
|
import LinkToWeblate from "../../UI/Base/LinkToWeblate"
|
||||||
import FeatureSwitchState from "./FeatureSwitchState"
|
import FeatureSwitchState from "./FeatureSwitchState"
|
||||||
|
|
|
@ -112,7 +112,6 @@ class TranslationPart {
|
||||||
const v = object[key]
|
const v = object[key]
|
||||||
|
|
||||||
if (v == null) {
|
if (v == null) {
|
||||||
console.warn("Got a null value for key ", key)
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if (typeof v !== "object") {
|
if (typeof v !== "object") {
|
||||||
|
|
Loading…
Add table
Reference in a new issue