mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
Accompanying course evaluation documents: disable the WOPI edit link if no keyInfos
This commit is contained in:
parent
89064f55a1
commit
cff126953e
@ -340,9 +340,8 @@ export default {
|
||||
methods: {
|
||||
ISOToDatetime,
|
||||
canEditDocument(document) {
|
||||
console.log(document);
|
||||
return 'storedObject' in document ?
|
||||
this.mime.includes(document.storedObject.type) : false;
|
||||
this.mime.includes(document.storedObject.type) && document.storedObject.keyInfos.length !== 0 : false;
|
||||
},
|
||||
listAllStatus() {
|
||||
console.log('load all status');
|
||||
|
Loading…
x
Reference in New Issue
Block a user