mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 08:15:00 +00:00
show more wasn't counting links properly
This commit is contained in:
parent
40e9e1be66
commit
da4789253c
@ -50,7 +50,7 @@ export default createWidget('post-links', {
|
|||||||
result.push(h('li', this.attach('link', {
|
result.push(h('li', this.attach('link', {
|
||||||
labelCount: 'post_links.title',
|
labelCount: 'post_links.title',
|
||||||
title: 'post_links.about',
|
title: 'post_links.about',
|
||||||
count: links.length,
|
count: dedupedLinks.length - max,
|
||||||
action: 'expandLinks',
|
action: 'expandLinks',
|
||||||
className: 'expand-links'
|
className: 'expand-links'
|
||||||
})));
|
})));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user