Fix build

This commit is contained in:
Pieter Vander Vennet 2025-08-08 00:52:13 +02:00
parent dcea114c99
commit 19b662273a

View file

@ -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,