forked from MapComplete/MapComplete
Fix build
This commit is contained in:
parent
dcea114c99
commit
19b662273a
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ import { DesugaringStep } from "./Conversion"
|
|||
import { Utils } from "../../../Utils"
|
||||
import Translations from "../../../UI/i18n/Translations"
|
||||
import { ConversionContext } from "./ConversionContext"
|
||||
import { Lists } from "../../../Utils/Lists"
|
||||
|
||||
export class AddContextToTranslations<T> extends DesugaringStep<T> {
|
||||
private readonly _prefix: string
|
||||
|
@ -144,7 +145,7 @@ export class AddContextToTranslations<T> extends DesugaringStep<T> {
|
|||
path[i] = breadcrumb["id"]
|
||||
}
|
||||
}
|
||||
const pth = this._prefix + Utils.NoEmpty(context.path.concat(path).map(x => "" + x)).join(".")
|
||||
const pth = this._prefix + Lists.noEmpty(context.path.concat(path).map(x => "" + x)).join(".")
|
||||
console.log("Setting _context to: ",pth)
|
||||
return {
|
||||
...leaf,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue