⚠️ refactor (human-src): rename user components to employee

This commit is contained in:
Abizrh
2025-08-29 14:54:00 +07:00
parent 00d4419bc7
commit a4d18e45db
9 changed files with 4 additions and 4 deletions
@@ -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'),
},
}
@@ -35,7 +35,7 @@ const canCreate = hasCreateAccess(roleAccess)
<template>
<div v-if="canCreate">
<FlowUserEntry />
<FlowEmployeeEntry />
</div>
<Error v-else :status-code="403" />
</template>
@@ -33,7 +33,7 @@ const canRead = hasReadAccess(roleAccess)
<template>
<div>
<div v-if="canRead">
<FlowUserList />
<FlowEmployeeList />
</div>
<Error v-else :status-code="403" />
</div>