mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-30 15:53:02 +00:00
[Client] Fix bug
This commit is contained in:
parent
151f1fe3f7
commit
a92985122e
2 changed files with 2 additions and 2 deletions
|
@ -329,7 +329,7 @@
|
||||||
|
|
||||||
this.title = this.dateStringify(this.p.created_at);
|
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.isDetailOpened = false;
|
||||||
|
|
||||||
this.on('mount', () => {
|
this.on('mount', () => {
|
||||||
|
|
|
@ -304,7 +304,7 @@
|
||||||
this.isRepost = this.post.repost != null && this.post.text == null;
|
this.isRepost = this.post.repost != null && this.post.text == null;
|
||||||
this.p = this.isRepost ? this.post.repost : this.post;
|
this.p = this.isRepost ? this.post.repost : this.post;
|
||||||
this.summary = this.getPostSummary(this.p);
|
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', () => {
|
this.on('mount', () => {
|
||||||
if (this.p.text) {
|
if (this.p.text) {
|
||||||
|
|
Loading…
Reference in a new issue