Browse Source

#290

feature/290
みてるぞ 1 week ago
parent
commit
2b3b0e4c30
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      frontend/src/pages/posts/PostHistoryPage.tsx

+ 2
- 2
frontend/src/pages/posts/PostHistoryPage.tsx View File

@@ -71,7 +71,7 @@ export default (() => {
++rowsCnt
}
return (
<tr key={`${ change.timestamp }-${ change.post.id }-${ change.tag.id }`}
<tr key={`${ change.timestamp }-${ change.post.id }-${ change.tag?.id }`}
className={cn ('even:bg-gray-100 dark:even:bg-gray-700',
withPost && 'border-t')}>
{withPost && (
@@ -94,7 +94,7 @@ export default (() => {
<td className="p-2">
{change.tag
? <TagLink tag={change.tag} withWiki={false} withCount={false}/>
: '(マスタ削除済のタグ) '}
: '(マスタ削除済のタグ) '}
{`を${ change.changeType === 'add' ? '記載' : '消除' }`}
</td>
<td className="p-2">


Loading…
Cancel
Save