fix: modified time on info prompt

This commit is contained in:
Ramires Viana 2021-03-11 15:20:37 +00:00
parent 326b35a7ac
commit 11ebaec5f0

View File

@ -63,7 +63,7 @@ export default {
return moment(this.req.modified).fromNow() return moment(this.req.modified).fromNow()
} }
return moment(this.req.items[this.selected[0]]).fromNow() return moment(this.req.items[this.selected[0]].modified).fromNow()
}, },
name: function () { name: function () {
return this.selectedCount === 0 ? this.req.name : this.req.items[this.selected[0]].name return this.selectedCount === 0 ? this.req.name : this.req.items[this.selected[0]].name