fix(消息管理): 修复邮件标题默认不显示带有Metersphere开头问题

This commit is contained in:
guoyuqi 2024-02-07 09:17:25 +08:00 committed by Craftsman
parent 16533c9237
commit cf5357fb4f
1 changed files with 2 additions and 2 deletions

View File

@ -228,9 +228,9 @@
if ( if (
props.robot.platform === 'MAIL' && props.robot.platform === 'MAIL' &&
props.robot.previewSubject !== null && props.robot.previewSubject !== null &&
props.robot.previewSubject?.indexOf('Metersphere') === -1 props.robot.previewSubject?.indexOf('MeterSphere') === -1
) { ) {
previewName = `Metersphere ${previewName}`; previewName = `MeterSphere ${previewName}`;
} }
return previewName return previewName
}); });