5sControl / 5sControl/5s-frontend
[3h] In orders view , the page crashes when the checkboxes in the filter are disabled
- Lingua principale
- TypeScript
- Stelle
- 3
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
В orders view , краш страницы , при отключении чекбоксов в фильтре
**Steps:**
1. Перейти в orders view
2. Перейти в фильтр
3. Убрать все активные чекбоксы
4. Нажать кнопку Done
**Actual result:**
При отключении всех чекбоксов страница не отображается
**Expected Result:**
При отключении всех чекбоксов страница отображает информацию
**Files:**
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look for the orders view component and its filter logic, likely in a file like `src/views/OrdersView.tsx` or similar. Examine the filter component that handles checkboxes; the crash likely occurs when all checkboxes are unchecked and the filter tries to process an empty selection. Check the browser console for errors to identify the exact line. The fix is to ensure the filter handles an empty selection gracefully, perhaps by showing all items or displaying a message.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- react, typescript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100