projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
🐛 fix
[Sone.git]
/
src
/
main
/
resources
/
static
/
javascript
/
sone.js
diff --git
a/src/main/resources/static/javascript/sone.js
b/src/main/resources/static/javascript/sone.js
index
efd72a5
..
3e50ee2
100644
(file)
--- a/
src/main/resources/static/javascript/sone.js
+++ b/
src/main/resources/static/javascript/sone.js
@@
-304,7
+304,7
@@
function getMenuSone(element) {
* @returns {String} The created string
*/
function generateSoneList(sones) {
- return sones.
reduce((soneList, sone) => soneList + ", " + sone.name, "").substring(2
)
+ return sones.
map(sone => sone.name).join(", "
)
}
/**