mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 03:59:39 +08:00
Make sure no likes are left behind
This commit is contained in:
parent
894246806f
commit
d27f0403d8
@ -30,7 +30,7 @@ export default function() {
|
||||
// If there are more users that we've run out of room to display, add a "x
|
||||
// others" name to the end of the list. Clicking on it will display a modal
|
||||
// with a full list of names.
|
||||
if (likes.length > limit + 1) {
|
||||
if (likes.length > limit) {
|
||||
names.push(
|
||||
<a href="#" onclick={e => {
|
||||
e.preventDefault();
|
||||
|
Loading…
x
Reference in New Issue
Block a user