⚠️ refactor (human-src): rename user components to employee
This commit is contained in:
@@ -10,7 +10,7 @@ const data = ref({
|
||||
|
||||
function onClick(type: string) {
|
||||
if (type === 'cancel') {
|
||||
navigateTo('/human-src/user')
|
||||
navigateTo('/human-src/employee')
|
||||
} else if (type === 'draft') {
|
||||
// do something
|
||||
} else if (type === 'submit') {
|
||||
@@ -30,7 +30,7 @@ const headerPrep: HeaderPrep = {
|
||||
icon: 'i-lucide-users',
|
||||
addNav: {
|
||||
label: 'Tambah',
|
||||
onClick: () => navigateTo('/human-src/user/add'),
|
||||
onClick: () => navigateTo('/human-src/employee/add'),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user