Fix null values in supporter amounts
This commit is contained in:
parent
213db4d168
commit
23a7b21698
1 changed files with 1 additions and 1 deletions
|
@ -1520,7 +1520,7 @@ export class UtilityPlugin extends ZeppelinPlugin<TConfigSchema> {
|
|||
if (supporters.length) {
|
||||
aboutContent.embed.fields.push({
|
||||
name: "Zeppelin supporters 🎉",
|
||||
value: supporters.map(s => `**${s.name}** ${s.amount && `${s.amount}€/mo`}`).join("\n"),
|
||||
value: supporters.map(s => `**${s.name}** ${s.amount ? `${s.amount}€/mo` : ""}`.trim()).join("\n"),
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue