fix(web): emotion add default value

This commit is contained in:
zhaoying
2026-02-10 10:30:39 +08:00
parent 7e7b54593c
commit 787adf5423
3 changed files with 3 additions and 1 deletions

View File

@@ -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>
)