allow to edit encrypted documents

This commit is contained in:
2022-04-26 17:46:25 +02:00
parent faf1559770
commit f713b1ddc8
3 changed files with 11 additions and 5 deletions

View File

@@ -345,7 +345,7 @@ export default {
ISOToDatetime,
canEditDocument(document) {
return 'storedObject' in document ?
this.mime.includes(document.storedObject.type) && document.storedObject.keyInfos.length === 0 : false;
this.mime.includes(document.storedObject.type) : false;
},
listAllStatus() {
console.log('load all status');