Skip to content

Commit 7d33b5b

Browse files
Include currency symbol in budget exceeded message
1 parent 70c886e commit 7d33b5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/features/budget/budget.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ export class BudgetComponent implements OnInit {
296296
this.totalBudget = totalBudget.toFixed(2);
297297
this.remainingBudgets = '0';
298298
const overSpent = (spent - totalBudget).toFixed(2);
299-
this.budgetMessage = `⚠️ You have exceeded your budget by ${overSpent}!`;
299+
this.budgetMessage = `⚠️ You have exceeded your budget by ${this.currency}${overSpent}!`;
300300
} else {
301301
this.totalSpent = spent.toFixed(2);
302302
this.totalBudget = totalBudget.toFixed(2);

0 commit comments

Comments
 (0)