This commit is contained in:
Niels Lyngsø
2023-06-09 09:49:03 +02:00
parent a75a6952aa
commit 0bce0d0f5c

View File

@@ -37,6 +37,7 @@ export class UmbDictionaryWorkspaceContext
setPropertyValue(isoCode: string, translation: string) {
if (!this.#data.value) return;
// TODO: This can use some of our own methods, to make it simpler. see appendToFrozenArray()
// update if the code already exists
const updatedValue =
this.#data.value.translations?.map((translationItem) => {