5sControl / 5sControl/5s-frontend

[4h] Error 404 in camera settings when double-clicking on the delete zone button

Open
#569 0 comments 0 reactions 1 assignee Claimed by @payne52 View on GitHub
bug
Dominant language
TypeScript
Stars
3
Forks
1
PR merge metrics
No merged PRs in 30d

Description

При двойном нажатии на кнопку удалить зону появляется ошибка

**Precondition:**
Открыта вкладка configuration и настройки камеры

Steps:

1. Перейти во вкладку Zones
2. Выбрать существующую зону
3. Double click на кнопку delete

Actual result:
При двойном нажатии на кнопку удалить ошибка 404

Expected Result:
При двойном нажатии на кнопку удалить зона удаляется

files:
https://github.com/user-attachments/assets/021f2ebd-63df-455a-ae5e-5ca242454ec2

Contributor guide

Open the contributing guide

Research direction

The issue is about a 404 error when double-clicking a delete zone button in camera settings. Look for the Zones component and the delete button handler, likely in a file related to camera configuration or zone management. Check if the handler is making an API call and if double-clicking triggers multiple requests. Verify the expected behavior by testing the delete functionality with a single click.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.