Disable database linking

This commit is contained in:
2026-08-12 18:36:22 +03:00
parent ff698cd1a1
commit 9b72b6a610
2 changed files with 4 additions and 0 deletions

View File

@@ -20,6 +20,8 @@ import {
TableRow, TableRow,
} from "@/components/ui/table"; } from "@/components/ui/table";
export const dynamic = "force-dynamic";
// Function to translate roles using i18n // Function to translate roles using i18n
function translateRole(role: string, t: (key: string) => string): string { function translateRole(role: string, t: (key: string) => string): string {
switch (role) { switch (role) {

View File

@@ -40,6 +40,8 @@ import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
import { DataTable } from "@/components/haldus/data-table"; import { DataTable } from "@/components/haldus/data-table";
import { columns } from "@/components/haldus/columns"; import { columns } from "@/components/haldus/columns";
export const dynamic = "force-dynamic";
async function syncAction() { async function syncAction() {
"use server"; "use server";
await syncFientaEvent(process.env.EVENT_ID!, process.env.FIENTA_API_KEY!); await syncFientaEvent(process.env.EVENT_ID!, process.env.FIENTA_API_KEY!);