btlqql opened a new pull request, #2090:
URL: https://github.com/apache/rocketmq-dashboard/pull/2090

   ## What is the purpose of the change
   
   Fix #2072 (and #2074).
   
   The consumer detail dialog read selectedGroup.subscribedTopics.length and 
.map without guarding the nullable backend list, crashing the dialog. The 
subscription tables also used rowKey="topic" although one topic can have 
multiple subscription entries, causing React duplicate-key issues.
   
   ## Brief changelog
   
   - consumer.tsx: guard subscribedTopics with ?? []
   - consumer.tsx: use a composite row key of topic, filterMode and expression
   
   ## How was this patch verified
   
   - npx vitest run src/pages/instance/__tests__/ConsumerPage.test.tsx (13 
passed)
   - npx tsc -b clean


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to