แก้ router ให้ไปดึงที่ registry ก่อน
This commit is contained in:
parent
16490e4dce
commit
eb5f4d35f6
1 changed files with 2 additions and 2 deletions
|
|
@ -1354,8 +1354,8 @@ const clickAdd = () => {
|
|||
};
|
||||
|
||||
// ดูรายการแก้ไขรายชื่อ
|
||||
const redirectToPage = (profileId?: string) => {
|
||||
router.push(`/registryEmployee/edit/${profileId}`);
|
||||
const redirectToPage = (id?: string) => {
|
||||
router.push(`/registry/${id}`);
|
||||
};
|
||||
const editDetail = async (row: any) => {
|
||||
await getPosition(row.id);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue