mirror of
https://github.com/R0m1k3/LogiFlow.git
synced 2026-10-17 20:27:10 +02:00
Improve task display and data loading logic
Adjust CSS to prevent horizontal scrolling issues, simplify task data fetching by enabling it when a user is logged in, and add critical responsive utility classes to Tailwind CSS configuration for the Tasks module. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 95e8aab4-f39f-4b48-aa57-a759ec15ba3d Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/95e8aab4-f39f-4b48-aa57-a759ec15ba3d/0iFumsU
This commit is contained in:
1 parent
3976c4c6cc
commit
d7de31ac2a
3 files changed
+14
-3
No files matched your search
@@ -62,13 +62,11 @@
|
||||
|
||||
html, body {
|
||||
@apply font-sans antialiased bg-surface text-foreground;
|
||||
overflow-x: hidden !important;
|
||||
max-width: 100vw;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
#root {
|
||||
overflow-x: hidden !important;
|
||||
max-width: 100vw;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@@ -378,7 +378,7 @@ export default function Tasks() {
|
||||
throw error;
|
||||
}
|
||||
},
|
||||
enabled: !!user && (user.role === 'admin' || (user.role === 'directeur' || user.role === 'manager' ? !!selectedStoreId : true)),
|
||||
enabled: !!user, // Charger les données dès que l'utilisateur est connecté
|
||||
});
|
||||
|
||||
// Fetch users for task assignment - seulement pour admin/manager/directeur
|
||||
|
||||
Reference in new issue
Block a user