5sControl / 5sControl/5s-frontend

[3h] Новый рабочий после его создания появляется в общем списке рабочих только после обновления страницы

Aperta Adatta ai principianti
#883 0 commenti 0 reazioni 2 assegnatari Assegnata a @ThanhDoIVan Vedi su GitHub
bug
Lingua principale
TypeScript
Stelle
3
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Я, как админ, создала рабочего - Мария Авсейко, заполнила все поля и нажала кнопку подтверждения.
Вернулась к списку всех работников.
Expected result: новый работник есть в списке
Actual result: нового работника нет в списке.

Обновила страницу списка работников.
Работник появился.

- [x] создание
- [x] редактирование
- [x] удаление

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Look at the component that creates a worker and the component that lists workers. The issue is likely that the list is not being re-fetched or updated after a successful creation. Check the API call for creating a worker and the state management (likely React state or a store) for the worker list. After creation, ensure the new worker data is added to the list state or the list is refetched. Verify by creating a worker and checking the network tab and console.

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

Valutazione

Stack tecnologico
react, typescript
Ambito
frontend
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Specificata chiaramente
Idoneità per principianti
65/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.