Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting a condition in monitor criteria always deletes the last one #1836

Open
sevensolutions opened this issue Feb 9, 2025 · 0 comments
Open
Labels
bug Something isn't working

Comments

@sevensolutions
Copy link

sevensolutions commented Feb 9, 2025

Describe the bug
If you have a monitor criteria with multiple conditions and you want to delete eg. the first one of them using the "Delete" button, it always deletes the last one.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new Monitor
  2. In the monitoring criteria section there are two conditions by default
  3. Try to delete the first one using the "Delete" button on the right side.
  4. Now the last one has been deleted, instead of the first one.

Expected behavior
I expect the delete button to delete the corresponding condition where the button is located.

Screenshots

Image

Desktop (please complete the following information):

  • OS: macOS
  • Browser Chrome
  • Version [e.g. 22]
  • OneUptime Version: 7.0.3621

Deployment Type
Self Hosted, using docker compose

@sevensolutions sevensolutions added the bug Something isn't working label Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant