make DotButton content overflow & add depart styling
This commit is contained in:
@@ -231,7 +231,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].toUpperCase() : 'Pas de noms'
|
||||
const firstChar = text.authors ? text.authors[0].last_name[0].toUpperCase() : '~'
|
||||
if (!(firstChar in dict)) dict[firstChar] = []
|
||||
dict[firstChar].push(text)
|
||||
return dict
|
||||
|
||||
Reference in New Issue
Block a user