[Client] Fix bug

This commit is contained in:
syuilo 2017-02-22 16:03:34 +09:00
parent 7f5a6e2e52
commit e55e70569c
2 changed files with 2 additions and 2 deletions

View file

@ -329,7 +329,7 @@
this.title = this.dateStringify(this.p.created_at);
this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id;
this.url = `/${this.p.user.username}/${this.p.id}`;
this.isDetailOpened = false;
this.on('mount', () => {

View file

@ -304,7 +304,7 @@
this.isRepost = this.post.repost != null && this.post.text == null;
this.p = this.isRepost ? this.post.repost : this.post;
this.summary = this.getPostSummary(this.p);
this.url = CONFIG.url + '/' + this.p.user.username + '/' + this.p.id
this.url = `/${this.p.user.username}/${this.p.id}`;
this.on('mount', () => {
if (this.p.text) {