5sControl / 5sControl/5s-frontend
[0.09h] fix bug: can not delete the camera from Configuration page
- 主要言語
- TypeScript
- スター
- 3
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
**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
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- react, typescript
- 領域
- frontend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100