Skip to content

Commit

Permalink
Fix for csv generation in shifting
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacobjeevan committed Oct 15, 2024
1 parent a45285a commit 7d38099
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Components/Shifting/BoardView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ export default function BoardView() {
<ExportButton
action={async () => {
const { data } = await request(routes.downloadShiftRequests, {
query: { ...formatFilter(qParams), csv: true },
query: {
...formatFilter({ ...qParams, status: board.text }),
csv: true,
},
});
return data ?? null;
}}
Expand Down

0 comments on commit 7d38099

Please sign in to comment.