Merge pull request #383 from SuanmoSuanyangTechnology/fix/release_web_zy
fix(web): emotion add default value
This commit is contained in:
@@ -2451,6 +2451,7 @@ Memory Bear: After the rebellion, regional warlordism intensified for several re
|
||||
involved_objects: 'Involved Objects',
|
||||
content_records: 'Episode Content Records',
|
||||
emotion: 'Emotion and State Records',
|
||||
none: 'None',
|
||||
},
|
||||
implicitDetail: {
|
||||
title: 'The invisible forces that shaped me',
|
||||
|
||||
@@ -2546,6 +2546,7 @@ export const zh = {
|
||||
involved_objects: '涉及对象',
|
||||
content_records: '情景内容记录',
|
||||
emotion: '情绪与状态记录',
|
||||
none: '无',
|
||||
},
|
||||
implicitDetail: {
|
||||
title: '那些塑造了我的无形力量',
|
||||
|
||||
@@ -242,7 +242,7 @@ const EpisodicDetail: FC = () => {
|
||||
{detail.content_records.map((vo, index) => <div key={index} className="rb:text-[#5B6167] rb:leading-5">- {vo}</div>)}
|
||||
</div>
|
||||
<RbAlert>
|
||||
{t('episodicDetail.emotion')}: {t(`statementDetail.${detail.emotion}`)}
|
||||
{t('episodicDetail.emotion')}: {t(`episodicDetail.${detail.emotion || 'none'}`)}
|
||||
</RbAlert>
|
||||
</Space>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user