Fix: Finalizing full-width logic for Eventos
This commit is contained in:
parent
0fd3c014c1
commit
4f1bc2b3ba
@ -2,6 +2,7 @@ import { APPWRITE_ALMEIRA_CONFIG } from '@/lib/appwrite';
|
||||
import { createAdminClient } from '@/lib/appwrite.server';
|
||||
import { Query } from 'node-appwrite';
|
||||
import { NewsCard } from '@/components/NewsCard';
|
||||
import { GlobalSidebar, hasSidebarContent } from '@/components/AdWrappers';
|
||||
import { Calendar } from 'lucide-react';
|
||||
|
||||
async function fetchEventosData() {
|
||||
@ -50,7 +51,7 @@ async function fetchEventosData() {
|
||||
return { posts, cardSettings };
|
||||
} catch (e) {
|
||||
console.error("Eventos fetch error", e);
|
||||
return { posts: [], cardSettings: { showCategory: false, showFooterDate: true, footerText: "" } };
|
||||
return { posts: [], cardSettings: { showCategory: false, showFooterDate: true, showFooterButton: true, footerText: "" } };
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user