show Restschuld as negative in buy net worth tooltip
This commit is contained in:
1
ui.js
1
ui.js
@@ -193,6 +193,7 @@ const build_table = (result) => {
|
||||
td_buy_nw.addEventListener('mouseenter', (e) => show_tooltip(e, [
|
||||
tip_row('Immobilienwert', d.house_value, '#f59e0b'),
|
||||
tip_row('ETF-Portfolio', d.buyer_portfolio, '#f59e0b'),
|
||||
tip_row('Restschuld', -d.mortgage_balance, '#ef4444'),
|
||||
].join('<br>')));
|
||||
|
||||
const td_rent_nw = document.createElement('td');
|
||||
|
||||
Reference in New Issue
Block a user