fix: empty file listing on share
parent
c29698dffa
commit
e08239781f
|
@ -106,7 +106,7 @@ export default {
|
||||||
return filesize(this.size);
|
return filesize(this.size);
|
||||||
},
|
},
|
||||||
humanTime: function () {
|
humanTime: function () {
|
||||||
if (this.user.dateFormat) {
|
if (this.readOnly == undefined && this.user.dateFormat) {
|
||||||
return moment(this.modified).format("L LT");
|
return moment(this.modified).format("L LT");
|
||||||
}
|
}
|
||||||
return moment(this.modified).fromNow();
|
return moment(this.modified).fromNow();
|
||||||
|
|
Loading…
Reference in New Issue