5sControl / 5sControl/5s-frontend

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

Offen Anfängerfreundlich
#883 0 Kommentare 0 Reaktionen 2 zugewiesene Personen Zugewiesen an @ThanhDoIVan Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
3
Forks
1
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

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

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.