Post vault save update of entry metedata

This commit is contained in:
Daniel Nyvik 2024-04-04 14:00:10 +02:00
parent 2b757762cd
commit ecb80335e6
1 changed files with 8 additions and 0 deletions

View File

@ -1005,6 +1005,14 @@ class AppModel {
keyFileHash: file.getKeyFileHash()
});
}
if (!err) {
const entries = this.getEntryMetadata(file);
if (entries) {
fileInfo.set(entries);
}
}
if (!this.fileInfos.get(fileInfo.id)) {
this.fileInfos.unshift(fileInfo);
}