mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 08:52:49 -05:00
rabbit suggestion
This commit is contained in:
@@ -34,8 +34,9 @@ export function isReflectBudget(): boolean {
|
||||
const budgetType =
|
||||
db.firstSync(`SELECT value FROM preferences WHERE id = ?`, [
|
||||
'budgetType',
|
||||
]) ?? 'rollover';
|
||||
return budgetType === 'report';
|
||||
]);
|
||||
const val = budgetType ? budgetType.value : 'rollover';
|
||||
return val === 'report';
|
||||
}
|
||||
|
||||
function dbMonth(month: string): number {
|
||||
|
||||
Reference in New Issue
Block a user