diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/web_frontend/asset.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/web_frontend/asset.rs b/src/web_frontend/asset.rs index 58960f9..c32bdf9 100644 --- a/src/web_frontend/asset.rs +++ b/src/web_frontend/asset.rs @@ -14,6 +14,7 @@ pub struct AssetContext { pub struct Account { name : String, category : String, + risk : String, balance : f32 } @@ -30,6 +31,7 @@ pub fn asset_handler() -> rocket_contrib::templates::Template { let tmp = Account { name : account.name.to_string(), category : account.category.to_string(), + risk : account.riskCategory.to_string(), balance : account.get_balance(today) }; acc.push(tmp); |
