Temporarily disable new task date features to fix production loading issue

Rollback TaskForm to use SimpleTaskForm, disabling start date functionality due to production errors. Update SimpleTaskForm onError to include error logging.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: cc2d271b-82f0-4d6a-9302-a0b067ffb429
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/1957c339-2757-4d1f-8e92-e9f71a1ce58e/cc2d271b-82f0-4d6a-9302-a0b067ffb429/0taewQN
This commit is contained in:
michaelschal committed 2025-08-19 08:29:03 +00:00
1 parent cc291e4b72
commit a062ed4ef0
4 files changed
+44 -2

No files matched your search

@@ -56,7 +56,7 @@ export default function SimpleTaskForm({ task, onClose }: SimpleTaskFormProps) {
const { data: groupsData = [] } = useQuery<Group[]>({
queryKey: ['/api/groups'],
enabled: !!user,
onError: () => console.warn('Erreur lors du chargement des magasins')
onError: (error) => console.warn('Erreur lors du chargement des magasins:', error)
});
const groups = Array.isArray(groupsData) ? groupsData.filter(g => g && g.id) : [];