mirror of
https://github.com/filebrowser/filebrowser.git
synced 2025-05-08 11:22:10 +00:00
fix: empty file listing on share
This commit is contained in:
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…
x
Reference in New Issue
Block a user