Merge branch 'dev' into feat/uploads-85-after-reset

This commit is contained in:
2025-11-21 08:38:37 +07:00
89 changed files with 5025 additions and 63 deletions

No files matched your search

+11 -1
View File
@@ -19,7 +19,17 @@ export function useQueryCRUDMode(key: string = 'mode') {
})
const goToEntry = () => (mode.value = 'entry')
const backToList = () =>(mode.value = 'list')
const backToList = () => {
router.push({
path: route.path,
query: {
...route.query,
mode: 'list',
// HAPUS record-id
'record-id': undefined,
},
})
}
return { mode, goToEntry, backToList }
}
+2
View File
@@ -7,6 +7,7 @@ export interface PageOperationPermission {
canDelete: boolean
}
/**
* Check if user has access to a page
*/
@@ -59,5 +60,6 @@ export function useRBAC() {
hasUpdateAccess,
hasDeleteAccess,
getPagePermissions,
}
}