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.

Feat/1.2.0/UI (#574)

dashuai829a258e3116
diff --git a/ui/src/pages/Tags/Detail/index.tsx b/ui/src/pages/Tags/Detail/index.tsx
index 6b5bc723..108612bc 100644
--- a/ui/src/pages/Tags/Detail/index.tsx
+++ b/ui/src/pages/Tags/Detail/index.tsx
@@ -47,7 +47,10 @@ const Index: FC = () => {
const { data: tagResp, isLoading } = useTagInfo({ name: curTagName });
const { data: listData, isLoading: listLoading } = useQuestionList(reqParams);
const { data: followResp } = useFollow(tagFollow);
- const { data: synonymsRes } = useQuerySynonymsTags(tagInfo?.tag_id, '');
+ const { data: synonymsRes } = useQuerySynonymsTags(
+ tagInfo?.tag_id,
+ tagInfo?.status,
+ );
const toggleFollow = () => {
if (!guard.tryNormalLogged(true)) {
return;