Can update a single movement information
This commit is contained in:
@ -12,13 +12,13 @@ export function AccountWidget(p: { account: Account }): React.ReactElement {
|
||||
height: "1.5em",
|
||||
width: "1.5em",
|
||||
backgroundColor: darkTheme.enabled ? "white" : "black",
|
||||
mask: `url(\"data:image/svg+xml;base64,${toBase64(
|
||||
mask: `url("data:image/svg+xml;base64,${toBase64(
|
||||
new TextEncoder().encode(
|
||||
ServerApi.Config.accounts_types.find(
|
||||
(t) => t.code === p.account.type
|
||||
)!.icon
|
||||
)
|
||||
)}\")`,
|
||||
)}")`,
|
||||
}}
|
||||
/>
|
||||
);
|
||||
|
@ -59,6 +59,7 @@ export function MoneyNavList(): React.ReactElement {
|
||||
|
||||
{accounts.list.list.map((a) => (
|
||||
<NavLink
|
||||
key={a.id}
|
||||
label={a.name}
|
||||
uri={`/account/${a.id}`}
|
||||
icon={<AccountWidget account={a} />}
|
||||
|
Reference in New Issue
Block a user