We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6e5f46 commit b4fadf7Copy full SHA for b4fadf7
1 file changed
vis/js/dataprocessing/managers/DataManager.js
@@ -154,9 +154,11 @@ class DataManager {
154
const firstAuthors = paper.authors_list.slice(0, 19).join(", ");
155
const lastAuthor = paper.authors_list[paper.authors_list.length - 1];
156
// get first 19 authors and add "..." and last author for the visual part the map
157
- paper.authors_string = `${firstAuthors}, ... ${lastAuthor}`;
+ paper.authors_string = `${firstAuthors}, ... ${lastAuthor}`;
158
// in the case of more than 19 authors left an array of 20 authors for further processing in the visual part with "..." between the authors
159
paper.authors_list = paper.authors_list.slice(0, 20).concat(lastAuthor);
160
+ } else {
161
+ paper.authors_string = paper.authors_list.join(", ");
162
}
163
164
0 commit comments