We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3158374 commit 728c55cCopy full SHA for 728c55c
1 file changed
src/web/mail-data-creator.mjs
@@ -109,11 +109,7 @@ export class ReplayMailDataCreator {
109
}
110
111
static createSubject({ buttonConfig, originalSubject }) {
112
- let prefix = buttonConfig.subjectPrefix ?
113
- `${buttonConfig.subjectPrefix} ` :
114
- "";
115
- return buttonConfig.subject ?
116
- prefix + buttonConfig.subject:
117
- prefix + originalSubject;
+ const prefix = buttonConfig.subjectPrefix ? `${buttonConfig.subjectPrefix} ` : "";
+ return buttonConfig.subject ? prefix + buttonConfig.subject : prefix + originalSubject;
118
119
0 commit comments