5sControl / 5sControl/5s-frontend

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

オープン
#598 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
3
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

В 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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
react, typescript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。