Created select account input
This commit is contained in:
@@ -3,7 +3,7 @@ import CallReceivedIcon from "@mui/icons-material/CallReceived";
|
||||
import React from "react";
|
||||
import { Movement, MovementApi } from "../api/MovementsApi";
|
||||
import { useAccounts } from "../hooks/AccountsListProvider";
|
||||
import { AccountWidget } from "./AccountWidget";
|
||||
import { AccountIconWidget } from "./AccountIconWidget";
|
||||
import { AmountWidget } from "./AmountWidget";
|
||||
import { AsyncWidget } from "./AsyncWidget";
|
||||
|
||||
@@ -53,7 +53,9 @@ export function MovementWidget(p: { id: number }): React.ReactElement {
|
||||
<span style={{ width: "0.5em" }} />
|
||||
•
|
||||
<span style={{ width: "0.5em" }} />
|
||||
<AccountWidget account={accounts.get(movement!.account_id)!} />
|
||||
<AccountIconWidget
|
||||
account={accounts.get(movement!.account_id)!}
|
||||
/>
|
||||
{accounts.get(movement!.account_id)?.name}
|
||||
</span>
|
||||
</span>
|
||||
|
Reference in New Issue
Block a user