Fix notesList more button notes count

This commit is contained in:
Martynas Bagdonas 2021-06-04 18:27:43 +03:00
parent 6d0067b806
commit 87ef6ceacc

View file

@ -102,7 +102,7 @@ const NotesList = forwardRef(({ onClick, onContextMenu, onAddChildButtonDown, on
{allNotes.length > visibleNotes.length
&& <div className="more-row" onClick={handleClickMore}>{
Zotero.getString('general.numMore', Zotero.Utilities.numberFormat(
[(allNotes.length - visibleNotes.length) - MAX_UNEXPANDED_ALL_NOTES], 0))
[allNotes.length - visibleNotes.length], 0))
}</div>
}
</section>