sidebar: แท็บหลักกลับไปใช้ label ภาษาอังกฤษเหมือนเดิม — Bookmark (N) / Annotation (N) แทน ที่คั่นหน้า/หมายเหตุ (คงตัวเลขนับและ key ของ tab เดิม ไม่แต่ตรรกะอื่น)
Some checks failed
Deploy eCourt Note Web to Server / Validate Database Schema (Drizzle) (push) Failing after 3s
Deploy eCourt Note Web to Server / Build Web Docker Image (push) Has been skipped
Deploy eCourt Note Web to Server / Deploy eCourt Note Web to Server (push) Has been skipped
Deploy eCourt Note Web to Server / Notify Deployment Status (push) Successful in 0s

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
Your Name 2026-09-17 17:42:23 +07:00
parent c56c39f2c5
commit b1bc65e65d

View file

@ -1063,8 +1063,8 @@ export default function AnnotationSidebar({
<div role="tablist" aria-label="รายการในแผงข้าง" className="flex shrink-0 border-b border-slate-200">
{(
[
["bookmarks", `ที่คั่นหน้า (${bookmarks.length})`],
["annotations", `หมายเหตุ (${annotations.length})`],
["bookmarks", `Bookmark (${bookmarks.length})`],
["annotations", `Annotation (${annotations.length})`],
] as const
).map(([key, label]) => (
<button