[Client] Fix bug
This commit is contained in:
parent
e5c09fa11e
commit
dd9ff67628
|
@ -9,7 +9,7 @@
|
||||||
<span class="username">@{ post.user.username }</span>
|
<span class="username">@{ post.user.username }</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<a class="time" href={ url }>
|
<a class="time" href={ '/' + this.post.user.username + '/' + this.post.id }>
|
||||||
<mk-time time={ post.created_at }></mk-time>
|
<mk-time time={ post.created_at }></mk-time>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -120,9 +120,6 @@
|
||||||
this.mixin('user-preview');
|
this.mixin('user-preview');
|
||||||
|
|
||||||
this.post = this.opts.post;
|
this.post = this.opts.post;
|
||||||
|
|
||||||
this.url = CONFIG.url + '/' + this.post.user.username + '/' + this.post.id;
|
|
||||||
|
|
||||||
this.title = this.dateStringify(this.post.created_at);
|
this.title = this.dateStringify(this.post.created_at);
|
||||||
|
|
||||||
this.on('mount', () => {
|
this.on('mount', () => {
|
||||||
|
|
Loading…
Reference in New Issue