Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.mdns.eu/nextcloud/passwords-client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2020-12-11 02:35:13 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2020-12-11 02:35:13 +0300
commit3408a0f60b2db4a67104e4dff7df572f344eef40 (patch)
tree0df8bcd2e4f3c7afb388e7fd48db02fb84be9964 /src/Services/ModelService.js
parentb31a64bd2a22becee5bc2e49c32c3028491899f4 (diff)
Fix collection update
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
Diffstat (limited to 'src/Services/ModelService.js')
-rw-r--r--src/Services/ModelService.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Services/ModelService.js b/src/Services/ModelService.js
index e06bcb9..ff0a21d 100644
--- a/src/Services/ModelService.js
+++ b/src/Services/ModelService.js
@@ -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 {