mirror of
https://github.com/actualbudget/actual.git
synced 2026-04-30 10:14:53 -05:00
Fix lint errors
This commit is contained in:
@@ -508,7 +508,7 @@ export function BudgetCategories({
|
|||||||
onToggleVisibilty={group => {
|
onToggleVisibilty={group => {
|
||||||
onSaveGroup({
|
onSaveGroup({
|
||||||
...group,
|
...group,
|
||||||
hidden: !!item.value.hidden ? false : true,
|
hidden: item.value.hidden ? false : true,
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
onApplyBudgetTemplatesInGroup={group =>
|
onApplyBudgetTemplatesInGroup={group =>
|
||||||
|
|||||||
@@ -22,8 +22,6 @@ import {
|
|||||||
separateGroups,
|
separateGroups,
|
||||||
} from './util';
|
} from './util';
|
||||||
|
|
||||||
import { type BudgetComponents } from '.';
|
|
||||||
|
|
||||||
import { type DropPosition } from '@desktop-client/components/sort';
|
import { type DropPosition } from '@desktop-client/components/sort';
|
||||||
import { SchedulesProvider } from '@desktop-client/hooks/useCachedSchedules';
|
import { SchedulesProvider } from '@desktop-client/hooks/useCachedSchedules';
|
||||||
import { useCategories } from '@desktop-client/hooks/useCategories';
|
import { useCategories } from '@desktop-client/hooks/useCategories';
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ export function CategoryBudgetedCell({
|
|||||||
category: category.id,
|
category: category.id,
|
||||||
});
|
});
|
||||||
showUndoNotification({
|
showUndoNotification({
|
||||||
message: t(`Budget set to last month’s budget.`),
|
message: t(`Budget set to last month's budget.`),
|
||||||
});
|
});
|
||||||
setIsMenuOpen(false);
|
setIsMenuOpen(false);
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -59,7 +59,7 @@ export function BalanceMovementMenu({
|
|||||||
<TransferMenu
|
<TransferMenu
|
||||||
categoryId={categoryId}
|
categoryId={categoryId}
|
||||||
initialAmount={catBalance}
|
initialAmount={catBalance}
|
||||||
showToBeBudgeted={true}
|
showToBeBudgeted
|
||||||
onSubmit={(amount, toCategoryId) => {
|
onSubmit={(amount, toCategoryId) => {
|
||||||
onBudgetAction(month, 'transfer-category', {
|
onBudgetAction(month, 'transfer-category', {
|
||||||
amount,
|
amount,
|
||||||
|
|||||||
@@ -543,13 +543,6 @@ export function IncomeGroupMonth({ month }: IncomeGroupMonthProps) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
type IncomeCategoryMonthProps = {
|
|
||||||
category: CategoryEntity;
|
|
||||||
isLast?: boolean;
|
|
||||||
month: string;
|
|
||||||
onShowActivity: (id: CategoryEntity['id'], month: string) => void;
|
|
||||||
onBudgetAction: (month: string, action: string, arg?: unknown) => void;
|
|
||||||
};
|
|
||||||
export function IncomeCategoryMonth({
|
export function IncomeCategoryMonth({
|
||||||
category,
|
category,
|
||||||
isLast,
|
isLast,
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export function useCategoryMutations() {
|
|||||||
notification: {
|
notification: {
|
||||||
type: 'error',
|
type: 'error',
|
||||||
message: t(
|
message: t(
|
||||||
'Category “{{name}}” already exists in group (it may be hidden)',
|
'Category "{{name}}" already exists in group (it may be hidden)',
|
||||||
{ name },
|
{ name },
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user