diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json index 73c9cec9d7..b7505f7c92 100644 --- a/apps/dashboard/package.json +++ b/apps/dashboard/package.json @@ -33,7 +33,7 @@ "ms": "^2.1.3", "next": "14.0.4", "next-international": "^1.1.4", - "next-safe-action": "^5.2.1", + "next-safe-action": "^5.2.3", "next-themes": "^0.2.1", "next-usequerystate": "^1.13.2", "react": "18.2.0", diff --git a/apps/dashboard/src/app/api/trigger/route.ts b/apps/dashboard/src/app/api/trigger/route.ts index 7a9a49a0c5..764d363df1 100644 --- a/apps/dashboard/src/app/api/trigger/route.ts +++ b/apps/dashboard/src/app/api/trigger/route.ts @@ -2,7 +2,7 @@ import { client } from "@midday/jobs"; import { createAppRoute } from "@trigger.dev/nextjs"; export const runtime = "nodejs"; -export const maxDuration = 60; +export const maxDuration = 300; // 5min import "@midday/jobs"; diff --git a/apps/dashboard/src/components/charts/bar-chart.tsx b/apps/dashboard/src/components/charts/bar-chart.tsx index 3b66f2d892..91f2b5750b 100644 --- a/apps/dashboard/src/components/charts/bar-chart.tsx +++ b/apps/dashboard/src/components/charts/bar-chart.tsx @@ -144,8 +144,7 @@ export function BarChart({ data }) { formatAmount({ maximumFractionDigits: 0, minimumFractionDigits: 0, - // TODO: Fix - currency: "SEK", + currency: data.summary.currency, amount: value, }) } diff --git a/apps/dashboard/src/components/modals/export-transactions-modal.tsx b/apps/dashboard/src/components/modals/export-transactions-modal.tsx index 8f2b5bc6f6..bb30343753 100644 --- a/apps/dashboard/src/components/modals/export-transactions-modal.tsx +++ b/apps/dashboard/src/components/modals/export-transactions-modal.tsx @@ -47,7 +47,7 @@ export function ExportTransactionsModal({ Export - {totalMissingAttachments && ( + {totalMissingAttachments > 0 && (
diff --git a/bun.lockb b/bun.lockb index ae543baed4..52d34a171a 100755 Binary files a/bun.lockb and b/bun.lockb differ