correct display of budget used
This commit is contained in:
parent
6ee1c01d6a
commit
87640420ec
6 changed files with 14 additions and 24 deletions
|
|
@ -5,7 +5,7 @@ import CustomCard from "../common/CustomCard";
|
|||
export type CategoryItemProps = {
|
||||
category: string,
|
||||
color: ColorValue,
|
||||
allocated_ammount: number,
|
||||
allocated_amount: number,
|
||||
total_expenses: number,
|
||||
category_guid: string,
|
||||
}
|
||||
|
|
@ -14,7 +14,7 @@ const CategoryItem = (properties: CategoryItemProps) => {
|
|||
|
||||
const { colors } = useTheme();
|
||||
|
||||
const subText = `${properties.total_expenses} / ${properties.allocated_ammount} €`;
|
||||
const subText = `${properties.total_expenses} / ${properties.allocated_amount} €`;
|
||||
|
||||
return (
|
||||
<CustomCard>
|
||||
|
|
|
|||
Reference in a new issue