5sControl / 5sControl/5s-frontend

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

未关闭 适合新手
#883 0 条评论 0 个 reaction 已指派 2 人 已指派给 @ThanhDoIVan 在 GitHub 查看
bug
主要语言
TypeScript
星标
3
派生
1
PR 合并指标
30 天内没有已合并 PR

描述

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

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

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

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
react, typescript
领域
frontend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
65/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。