Skip to content

Commit

Permalink
Fix Report print functionality (#161)
Browse files Browse the repository at this point in the history
Co-authored-by: ericboucher <[email protected]>
  • Loading branch information
echaidemenos and ericboucher authored Sep 16, 2024
1 parent fb063ab commit 76f4577
Show file tree
Hide file tree
Showing 31 changed files with 675 additions and 341 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Check for vulnerable dependencies
run: pnpm run security
run: pnpm run security --level 2

frontend_build_and_deploy:
needs: test
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
uses: dswistowski/surge-sh-action@v1
with:
domain: ${{ env.surge_url }}
project: "apps/frontend/out/."
project: 'apps/frontend/out/.'
login: ${{ secrets.surge_login }}
token: ${{ secrets.surge_token }}
- name: Get current date
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import { DisasterTable, DisasterTableProps } from './DisasterTable';

interface IProps {
locationParams: AddProvinceLevelReportLocationColumnsParams;
disasterTableParams: Pick<DisasterTableProps, 'data' | 'variant'>;
disasterTableParams: Pick<
DisasterTableProps,
'data' | 'variant' | 'isFirstTable'
>;
}

export const CommuneLevelReportTable = ({
Expand Down Expand Up @@ -131,6 +134,7 @@ export const CommuneLevelReportTable = ({
}}
columnHeaderHeight="large"
variant={disasterTableParams.variant}
isFirstTable={disasterTableParams.isFirstTable}
/>
);
};
Loading

0 comments on commit 76f4577

Please sign in to comment.