Merge pull request #139 from Lapikud/development

Update packages again and codebase
This commit is contained in:
2026-08-12 18:39:57 +03:00
committed by GitHub
3 changed files with 750 additions and 761 deletions

1507
package-lock.json generated

File diff suppressed because it is too large Load Diff

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!);