Optimize auth initialization by using cached middleware state

- Replace API calls with cached auth state from middleware in useAuthorization
- Add fallback to session cache and watchers for auth state updates
- Change initialization from async to synchronous for better performance
- Add DuplicateNotificationBanner component
This commit is contained in:
2025-07-09 12:43:24 -04:00
parent 3615e2fa9b
commit 36048dfed1
4 changed files with 205 additions and 16 deletions

View File

@@ -1,6 +1,9 @@
<template>
<div>
<v-container fluid>
<!-- Duplicate notification banner for admins -->
<DuplicateNotificationBanner />
<!-- Header Section -->
<v-row class="mb-4 mb-md-6">
<v-col cols="12" md="8">