fixed rich text names not appearing in boost context
This commit is contained in:
parent
0a6c9b5f1e
commit
c2356c460f
|
@ -36,7 +36,7 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
client.getPost("9upf5wtam363h1tp", 1).then(post => {
|
client.getPost("", 1).then(post => {
|
||||||
posts = [...posts, post];
|
posts = [...posts, post];
|
||||||
console.log(post);
|
console.log(post);
|
||||||
});
|
});
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
<div class="post-context">
|
<div class="post-context">
|
||||||
<span class="post-context-icon">🔁</span>
|
<span class="post-context-icon">🔁</span>
|
||||||
<span class="post-context-action">
|
<span class="post-context-action">
|
||||||
<a href="/{post.user.mention}">{@html parseEmojis(post.user.name)}</a> boosted this post.
|
<a href="/{post.user.mention}">{@html parseEmojis(post.user.rich_name)}</a> boosted this post.
|
||||||
</span>
|
</span>
|
||||||
<span class="post-context-time">
|
<span class="post-context-time">
|
||||||
<time title="{time_string}">{short_time(post.created_at)}</time>
|
<time title="{time_string}">{short_time(post.created_at)}</time>
|
||||||
|
|
Loading…
Reference in a new issue