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: questions closed cannot write answer

shuaibad0eaf12de0
diff --git a/ui/src/pages/Questions/Detail/index.tsx b/ui/src/pages/Questions/Detail/index.tsx
index 063a295e..6204e3ff 100644
--- a/ui/src/pages/Questions/Detail/index.tsx
+++ b/ui/src/pages/Questions/Detail/index.tsx
@@ -240,7 +240,7 @@ const Index = () => {
</div>
)}
- {!isLoading && !question?.operation?.operation_type && (
+ {!isLoading && !question?.operation?.type && (
<WriteAnswer
data={{
qid,