Skip to content

Commit

Permalink
duration
Browse files Browse the repository at this point in the history
  • Loading branch information
pontusab committed Dec 18, 2023
1 parent 1e276c8 commit f872560
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/app/api/trigger/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";

Expand Down
3 changes: 1 addition & 2 deletions apps/dashboard/src/components/charts/bar-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ export function BarChart({ data }) {
formatAmount({
maximumFractionDigits: 0,
minimumFractionDigits: 0,
// TODO: Fix
currency: "SEK",
currency: data.summary.currency,
amount: value,
})
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function ExportTransactionsModal({
<DialogHeader className="mb-8">
<DialogTitle>Export</DialogTitle>

{totalMissingAttachments && (
{totalMissingAttachments > 0 && (
<div className="pb-4">
<Alert variant="warning">
<AlertDescription>
Expand Down
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit f872560

Please sign in to comment.