Skip to content

Commit

Permalink
Merge branch 'main' into available-chains-lps
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn authored May 21, 2024
2 parents 946b66f + 15f9bc5 commit 4c85b28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Synpress tests

on:
workflow_run:
workflows: ['Demo deployments (manual)']
types:
- completed
schedule:
- cron: '0 12 * * *'

jobs:
cypress-run:
Expand Down
7 changes: 2 additions & 5 deletions centrifuge-app/src/pages/Loan/TransactionTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,8 @@ export const TransactionTable = ({
}

const getStatusText = (type: AssetTransactionType) => {
if (loanType === 'external' && type === 'BORROWED') return 'Purchase'
if (loanType === 'external' && type === 'REPAID') return 'Sale'

if (loanType === 'internal' && type === 'BORROWED') return 'Financed'
if (loanType === 'internal' && type === 'REPAID') return 'Repaid'
if (type === 'BORROWED') return 'Financed'
if (type === 'REPAID') return 'Repaid'

return `${type[0]}${type.slice(1).toLowerCase()}`
}
Expand Down

0 comments on commit 4c85b28

Please sign in to comment.