fix: docTitle unexpectedly translated (#14467)

fix #14465

In Chinese mode, the document with the specified name may not be
displayed correctly in the sidebar, and it may be mistaken for the
translation of the content that needs to be translated.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Fixed document title display in navigation panels on desktop and
mobile to properly render without additional processing steps.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Neo
2026-02-17 21:45:31 +08:00
committed by GitHub
parent 8f833388eb
commit 35e1411407
2 changed files with 2 additions and 2 deletions
@@ -271,7 +271,7 @@ export const NavigationPanelDocNode = ({
return (
<NavigationPanelTreeNode
icon={Icon}
name={t.t(docTitle)}
name={docTitle}
dndData={dndData}
onDrop={handleDropOnDoc}
renameable
@@ -152,7 +152,7 @@ export const NavigationPanelDocNode = ({
return (
<NavigationPanelTreeNode
icon={Icon}
name={t.t(docTitle)}
name={docTitle}
extractEmojiAsIcon={enableEmojiIcon}
collapsed={collapsed}
setCollapsed={setCollapsed}