diff --git a/.woodpecker.yml b/.woodpecker.yml index 62a9d7b..82bee88 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -12,4 +12,6 @@ steps: - npm run build - ssh root@10.0.10.4 'rm -rf /mnt/sda1/files/projects/borrowing_tracker_frontend/*' - scp -r dist/* root@10.0.10.4:/mnt/sda1/files/projects/borrowing_tracker_frontend + when: + - branch: master secrets: [SSH_KEY] diff --git a/src/Components/TransactionReportPDF/TransactionReportPDF.tsx b/src/Components/TransactionReportPDF/TransactionReportPDF.tsx index f18627f..2c6889c 100644 --- a/src/Components/TransactionReportPDF/TransactionReportPDF.tsx +++ b/src/Components/TransactionReportPDF/TransactionReportPDF.tsx @@ -72,20 +72,6 @@ export default function TransactionReportPDF(props: props) { ).length } - - Rejected Transactions:{" "} - { - transactions_today.filter( - (transaction) => transaction.transaction_status == "Rejected" - ).length - } -