mirror of
https://github.com/flarum/core.git
synced 2025-07-12 04:16:24 +02:00
Rename post.time
This commit is contained in:
@ -205,7 +205,7 @@ class PostStream extends Component {
|
||||
const attrs = {'data-index': this.visibleStart + i};
|
||||
|
||||
if (post) {
|
||||
const time = post.time();
|
||||
const time = post.createdAt();
|
||||
const PostComponent = app.postComponents[post.contentType()];
|
||||
content = PostComponent ? PostComponent.component({post}) : '';
|
||||
|
||||
|
Reference in New Issue
Block a user