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