Merge pull request '“Error ‘Something Went Wrong’ When Selecting Any Value from Category Dropdown in Dashboard > Monthly Expense Card”' (#503) from Kartik_Bug#1666 into Issues_Expense_2W

Reviewed-on: #503
Merged
This commit is contained in:
pramod.mahajan 2025-11-07 09:18:35 +00:00
commit 272412a2e7

View File

@ -35,7 +35,7 @@ const ExpenseByProject = () => {
const getSelectedTypeName = () => { const getSelectedTypeName = () => {
if (!selectedType) return "All Types"; if (!selectedType) return "All Types";
const found = ExpenseTypes.find((t) => t.id === selectedType); const found = ExpenseCategories.find((t) => t.id === selectedType);
return found ? found.name : "All Types"; return found ? found.name : "All Types";
}; };