mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-16 22:21:51 +00:00
ModActions: join reason attachments with spaces, not newlines
This commit is contained in:
parent
f7274225f9
commit
09b3775247
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ export class ModActionsPlugin extends ZeppelinPlugin {
|
||||||
|
|
||||||
formatReasonWithAttachments(reason: string, attachments: Attachment[]) {
|
formatReasonWithAttachments(reason: string, attachments: Attachment[]) {
|
||||||
const attachmentUrls = attachments.map(a => a.url);
|
const attachmentUrls = attachments.map(a => a.url);
|
||||||
return ((reason || "") + "\n" + attachmentUrls.join("\n")).trim();
|
return ((reason || "") + " " + attachmentUrls.join(" ")).trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue