Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix: timeline for tag diffcontent

shuai2d3ec9173c91
diff --git a/ui/src/components/DiffContent/index.tsx b/ui/src/components/DiffContent/index.tsx
index 2362e81c..2becb18d 100644
--- a/ui/src/components/DiffContent/index.tsx
+++ b/ui/src/components/DiffContent/index.tsx
@@ -24,7 +24,7 @@ const Index: FC<Props> = ({
showTagUrlSlug: true,
},
}) => {
- if (!newData?.original_text) return null;
+ if (!newData) return null;
let tag = newData.tags;
if (objectType === 'question' && oldData?.tags) {