5sControl / 5sControl/5s-frontend

In orders View, the asset selection is reset when changing the database

Aperta
#598 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

В 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
45/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.