Loyal-Young opened a new issue, #5369: URL: https://github.com/apache/rocketmq-dashboard/issues/5369
### Problem On Settings → Data Sources, load a populated list, then change the type filter. If the filtered list request fails, the table continues to display the rows and total from the previous filter. Operators can still act on rows that do not match the selected filter, and an export control can remain enabled against a failed list state. ### Reproduction 1. Open Data Sources with a Prometheus source visible. 2. Select the Thanos type filter. 3. Make the filtered `listDataSourcesPage` request fail. 4. The error toast appears, but the Prometheus row remains in the Thanos view. ### Expected After the active list request fails, the table should not present rows from an older filter as the current result. ### Suggested fix Clear the rows and total only when the failed request is still the latest request. Keep the request-generation check so an older failure cannot erase a newer successful result. -- 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]
