5sControl / 5sControl/5s-frontend

[3h] In orders view , the page crashes when the checkboxes in the filter are disabled

Ouverte
#635 0 commentaires 0 réactions 1 personne assignée Réclamée par @pkostukevich Voir sur GitHub
bug ESMIL
Langage dominant
TypeScript
Étoiles
3
Forks
1
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

В orders view , краш страницы , при отключении чекбоксов в фильтре

**Steps:**

1. Перейти в orders view
2. Перейти в фильтр
3. Убрать все активные чекбоксы
4. Нажать кнопку Done

**Actual result:**
При отключении всех чекбоксов страница не отображается

**Expected Result:**
При отключении всех чекбоксов страница отображает информацию

**Files:**

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
react, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
2/5
Temps estimé
1-3 heures
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.