5sControl / 5sControl/5s-frontend

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

Abierto Apto para principiantes
#883 0 comentarios 0 reacciones 2 asignados Asignado a @ThanhDoIVan Ver en GitHub
bug
Lenguaje dominante
TypeScript
Estrellas
3
Forks
1
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

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

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
react, typescript
Área
frontend
Tipo de issue
Error
Dificultad
2/5
Tiempo estimado
1-3 horas
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
65/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.