LiuTianyou opened a new issue, #2147:
URL: https://github.com/apache/hertzbeat/issues/2147

   ### Is there an existing issue for this?
   
   - [X] I have searched the existing issues
   
   ### Current Behavior
   
   If a component is associated with an incident, errors  will be displayed 
when deleting the component. The component can be deleted normally after 
deleting the corresponding incident.
   <img width="1521" alt="image" 
src="https://github.com/apache/hertzbeat/assets/30208283/7f8e32f9-225c-4a4c-aee5-75deb9ed9fb1";>
   
   
   ### Expected Behavior
   
   Prompt the user that the current component cannot be deleted due to the 
incident. Prompt the user to delete the corresponding incident before deleting 
the component
   
   ### Steps To Reproduce
   
   _No response_
   
   ### Environment
   
   ```markdown
   HertzBeat version(s):1.6.0
   ```
   
   
   ### Debug logs
   
   _No response_
   
   ### Anything else?
   
   _No response_


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to