mirror of
https://github.com/Lapikud/tipilan.git
synced 2026-09-22 15:22:59 +00:00
Disable database linking
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
@@ -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!);
|
||||||
|
|||||||
Reference in New Issue
Block a user