diff --git a/src/DotVVM.Framework/Resources/Scripts/collections/dictionaryHelper.ts b/src/DotVVM.Framework/Resources/Scripts/collections/dictionaryHelper.ts index f6adfc1ab3..b3ad6d0e75 100644 --- a/src/DotVVM.Framework/Resources/Scripts/collections/dictionaryHelper.ts +++ b/src/DotVVM.Framework/Resources/Scripts/collections/dictionaryHelper.ts @@ -14,7 +14,7 @@ export function getItem(dictionary: Dictionary, identifi throw Error("Provided key \"" + identifier + "\" is not present in the dictionary!"); } - return dictionary[index].Value; + return ko.unwrap(dictionary[index]).Value; } export function remove(observable: any, identifier: Key): boolean {