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 authored and GitHub committed 2026-02-17 13:45:31 +00:00
1 parent 8f833388eb
commit 35e1411407
2 files changed
+2 -2

No files matched your search

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