Private
Public Access
1
0

Add payoff amount, fix dialog overlay and nav highlight for sub-routes

- Show estimated payoff amount (balance + accrued interest) in loan summary
- Display loan balances as absolute values in red
- Fix dialog overlay blocking UI after edit by closing in finally with nextTick
- Highlight parent nav item when viewing sub-routes (e.g. /loans/:id)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Catherine Renelle
2026-02-14 22:12:50 -05:00
parent d28faa6838
commit f148b35ab2
2 changed files with 36 additions and 5 deletions
@@ -159,6 +159,8 @@ const navItems = [
function isNavActive(navRoute: string) {
if (route.path === navRoute) return true
// Highlight parent nav for sub-routes (e.g. /loans/:id highlights Loans)
if (navRoute !== '/' && route.path.startsWith(navRoute + '/')) return true
// Highlight "Transactions" when viewing account-scoped transactions
if (navRoute === '/transactions' && route.name === 'account-transactions') return true
return false