5sControl / 5sControl/5s-frontend
[3h] In orders view , the page crashes when the checkboxes in the filter are disabled
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
В orders view , краш страницы , при отключении чекбоксов в фильтре
**Steps:**
1. Перейти в orders view
2. Перейти в фильтр
3. Убрать все активные чекбоксы
4. Нажать кнопку Done
**Actual result:**
При отключении всех чекбоксов страница не отображается
**Expected Result:**
При отключении всех чекбоксов страница отображает информацию
**Files:**
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100