瀏覽代碼

fix adding message for topics (#2161)

Robert Azizbekyan 3 年之前
父節點
當前提交
d859dd6b3f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      kafka-ui-react-app/src/components/Topics/Topic/SendMessage/SendMessage.tsx

+ 1 - 1
kafka-ui-react-app/src/components/Topics/Topic/SendMessage/SendMessage.tsx

@@ -142,7 +142,7 @@ const SendMessage: React.FC = () => {
             key: !key ? null : key,
             content: !content ? null : content,
             headers,
-            partition,
+            partition: !partition ? 0 : partition,
           },
         });
         dispatch(fetchTopicDetails({ clusterName, topicName }));