AI: address review on PR #477

このコミットが含まれているのは:
Codex Night Worker
2026-11-14 17:42:48 +09:00
コミット 2cd4b36769
+4 -2
ファイルの表示
@@ -76,9 +76,12 @@ export const menuOutline = (
{ ...message ('add'), to: '/posts/new', visible: editable },
{ ...message ('allHistory'), to: '/posts/changes' },
{ ...message ('help'), to: '/wiki/ヘルプ:広場' }] },
{ ...message ('tags'), to: '/tags', subMenu: [
{ ...message ('tags'), to: '/tags',
base: pathName.startsWith ('/tag-descriptions') ? '/tag-descriptions' : '/tags',
subMenu: [
{ ...message ('master'), to: '/tags' },
{ ...message ('nicoLinks'), to: '/tags/nico' },
{ ...message ('tagDescriptions'), to: '/tag-descriptions' },
{ ...message ('allHistory'), to: '/tags/changes' },
{ ...message ('help'), to: '/wiki/ヘルプ:タグ' },
{ component: <Separator/>, visible: tagFlg },
@@ -101,7 +104,6 @@ export const menuOutline = (
{ ...message ('history'), to: `/materials/changes?material_id=${ material?.id }`,
visible: materialFlg }] },
...([
{ key: 'tagDescriptions', path: '/tag-descriptions', type: 'tag_description' },
{ key: 'tagGroups', path: '/tag-groups', type: 'tag_group' }] as const)
.map (({ key, path, type }): MenuVisibleItem => {
const current = (wikiResourceType ?? 'tag_description') === type