layar baru antrean klinik dan masuk

This commit is contained in:
Fanrouver
2026-01-08 12:44:40 +07:00
parent 96b10b9e75
commit 2d3d589fe6
18 changed files with 3253 additions and 69 deletions
+5 -3
View File
@@ -231,9 +231,11 @@ export default defineNuxtRouteMiddleware(async (to) => {
return;
}
// DISABLED: Auto-fetch permissions is now disabled
// Permissions should only be fetched manually via button click in HakAkses page
// Run async permission sync (non-blocking)
// This will only run once per session due to sessionStorage check
fetchAndSavePermissions().catch(err => {
console.error('❌ [Permissions Middleware] Failed to sync permissions:', err);
});
// fetchAndSavePermissions().catch(err => {
// console.error('❌ [Permissions Middleware] Failed to sync permissions:', err);
// });
});