mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:50:24 +08:00
Fix extension to work with latest state changes
This commit is contained in:
parent
b75d5c6670
commit
6a96d0244a
@ -37,7 +37,7 @@ export default function() {
|
||||
names.push(
|
||||
<a href="#" onclick={e => {
|
||||
e.preventDefault();
|
||||
app.modal.show(new PostLikesModal({post}));
|
||||
app.modal.show(PostLikesModal, {post});
|
||||
}}>
|
||||
{app.translator.transChoice('flarum-likes.forum.post.others_link', count, {count})}
|
||||
</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user