diff --git a/frontend/src/pages/posts/PostHistoryPage.tsx b/frontend/src/pages/posts/PostHistoryPage.tsx
index 7fe2202..ab54ad2 100644
--- a/frontend/src/pages/posts/PostHistoryPage.tsx
+++ b/frontend/src/pages/posts/PostHistoryPage.tsx
@@ -71,7 +71,7 @@ export default (() => {
++rowsCnt
}
return (
-
{withPost && (
@@ -92,7 +92,9 @@ export default (() => {
)}
|
-
+ {change.tag
+ ?
+ : '(マスタ削除済のタグ) '}
{`を${ change.changeType === 'add' ? '記載' : '消除' }`}
|
diff --git a/frontend/src/types.ts b/frontend/src/types.ts
index d7b0afd..f40f533 100644
--- a/frontend/src/types.ts
+++ b/frontend/src/types.ts
@@ -54,8 +54,8 @@ export type Post = {
export type PostTagChange = {
post: Post
- tag: Tag
- user?: User
+ tag: Tag | null
+ user: User | null
changeType: 'add' | 'remove'
timestamp: string }
|