5sControl / 5sControl/5s-frontend

[0.09h] fix bug: can not delete the camera from Configuration page

Aperta
#328 2 commenti 0 reazioni 1 assegnatario Rivendicata da @AlexGurski Vedi su GitHub
bug Front
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

**Summary: нет возможности удалить камеру на странице Configuration при нажатии на иконку "корзины"**

Environment:
- v0.3.0 - python
- v0.3.0 - js

Preconditions:
- Пользователь авторизован
- Лицензионный ключ применен
- Камера авторизована

Steps to reproduce:
1. Перейти на вкладку "Configuration"
2. Напротив авторизованной камеры нажать на иконку "корзины"
3. В появившемся модальном окне подтвердить удаление, нажав на кнопку "Remove"

Expected result:
Происходит удаление камеры из системы

Actual result:
Удаление камеры не происходит. Ошибка 401

Attachment:
https://user-images.githubusercontent.com/109624457/234844879-797cc242-d8ca-41ec-94d5-f827789d7872.webm

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

The issue is about a 401 error when deleting a camera from the Configuration page. Start by examining the frontend code for the delete button handler and the API call it makes. Check the authentication token handling and the request headers. Look at the network tab in developer tools to see the exact failing request. The fix likely involves correcting the authorization header or the endpoint URL.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.