From e08239781f61e7bb25d9b8c5c6cce90f34621a76 Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Thu, 11 Nov 2021 13:06:04 +0000 Subject: [PATCH] fix: empty file listing on share --- frontend/src/components/files/ListingItem.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/files/ListingItem.vue b/frontend/src/components/files/ListingItem.vue index 642e5454..bb374ec4 100644 --- a/frontend/src/components/files/ListingItem.vue +++ b/frontend/src/components/files/ListingItem.vue @@ -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();