Merge pull request #383 from SuanmoSuanyangTechnology/fix/release_web_zy

fix(web): emotion add default value
This commit is contained in:
yingzhao
2026-02-10 10:32:46 +08:00
committed by GitHub
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>
)