5sControl / 5sControl/5s-frontend
In orders View, the asset selection is reset when changing the database
- Vorherrschende Sprache
- TypeScript
- Sterne
- 3
- Forks
- 1
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
В orders View сбрасывается выбор asset при смене базы данных
**Steps:**
1. Перейти в Orders view
2. Нажать на шестеренку
3. Сменить базу данных
4. Проверить отображение чекбоксов и отображение assets
**Actual result:**
При смене бд сбрасываются выбранные чекбоксы и не отображаются выбранные Assets
**Expected Result:**
При смене бд ранее выбранные чекбоксы остаются и отображаются выбранные Assets
**files:**
https://github.com/user-attachments/assets/37e32747-abbe-451b-85e9-2abcce2a27d8
Beitragsleitfaden
Rechercherichtung
The issue is in the Orders view component, likely where the database selection and asset checkboxes are managed. Look for state management (like useState, context, or Redux) that handles the selected database and asset selections. The bug is that changing the database resets the asset state; you need to preserve the asset selection across database changes. Check the component linked in the issue's files attachment for the current implementation. 'Done' means the checkboxes and selected assets remain visible after switching the database.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- react, typescript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100