Skip to content

Commit

Permalink
fix: empty file listing on share
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiresviana committed Nov 11, 2021
1 parent c29698d commit e082397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/files/ListingItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e082397

Please sign in to comment.