mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +02:00
Fix extension to work with latest state changes
This commit is contained in:
@@ -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>
|
||||
|
Reference in New Issue
Block a user