Fix string interpolation
This commit is contained in:
parent
8406c890dd
commit
015f72d0ff
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ export class Postbuilder {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (etymologyContributors.length <= 4) {
|
if (etymologyContributors.length <= 4) {
|
||||||
message = Utils.commasAnd(etymologyContributors.map(c => c.username)) + " contributed with ${theme}"
|
message = `${Utils.commasAnd(etymologyContributors.map(c => c.username))} contributed with ${theme}`
|
||||||
} else {
|
} else {
|
||||||
message = `${etymologyContributors.slice(0, 3).map(c => c.username).join(", ")} and ${etymologyContributors.length - 3} others contributed with thematic map ${theme}`
|
message = `${etymologyContributors.slice(0, 3).map(c => c.username).join(", ")} and ${etymologyContributors.length - 3} others contributed with thematic map ${theme}`
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue