fix: empty file listing on share

pull/1662/head
Ramires Viana 2021-11-11 13:06:04 +00:00
parent c29698dffa
commit e08239781f
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ export default {
return filesize(this.size);
},
humanTime: function () {
if (this.user.dateFormat) {
if (this.readOnly == undefined && this.user.dateFormat) {
return moment(this.modified).format("L LT");
}
return moment(this.modified).fromNow();