add text_rebond to NodeViewFooter & style popovers
This commit is contained in:
@@ -222,7 +222,7 @@ export default {
|
||||
if (a.authors[0].last_name > b.authors[0].last_name) return 1
|
||||
return 0
|
||||
}).reduce((dict, text) => {
|
||||
const firstChar = text.authors ? text.authors[0].last_name[0] : 'Pas de noms'
|
||||
const firstChar = text.authors ? text.authors[0].last_name[0].toUpperCase() : 'Pas de noms'
|
||||
if (!(firstChar in dict)) dict[firstChar] = []
|
||||
dict[firstChar].push(text)
|
||||
return dict
|
||||
|
||||
Reference in New Issue
Block a user