Dashboard: Add bank account logo to the account card (#6)
<img width="1122" height="194" alt="image" src="https://github.com/user-attachments/assets/5c2c63c1-a46e-4330-a9c4-5ea296a7cee2" />
This commit is contained in:
parent
5f149b4bae
commit
79180b1024
|
|
@ -43,7 +43,9 @@ export function AccountBalanceCard({
|
|||
return (
|
||||
<Card>
|
||||
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
||||
<CardTitle className="text-sm font-medium">
|
||||
<CardTitle className="text-sm font-medium flex items-center">
|
||||
{account.bank.logo && <img src={account.bank.logo} alt={account.bank.name} className="inline-block size-5 mr-2 rounded-full object-contain" />}
|
||||
|
||||
<EncryptedText
|
||||
encryptedText={account.name}
|
||||
iv={account.name_iv}
|
||||
|
|
|
|||
Loading…
Reference in New Issue