Fix collection update

Signed-off-by: Marius David Wieschollek's avatarMarius David Wieschollek <passwords.public@mdns.eu>
parent b31a64bd
......@@ -161,7 +161,7 @@ export default class ModelService {
let cacheKey = `${baseType}.${model.getId()}.${property}`;
if(this._cache.has(cacheKey)) {
let collection = /** @type {AbstractCollection} **/ this._cache.has(cacheKey);
let collection = /** @type {AbstractCollection} **/ this._cache.get(cacheKey);
collection.replaceAll(models);
model.setProperty(property, collection);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment