mirror of
https://github.com/kevachat/webapp.git
synced 2025-03-09 20:11:15 +00:00
cache user address request
This commit is contained in:
parent
9c2464d7fb
commit
7f649110a5
@ -131,6 +131,9 @@ class UserController extends AbstractController
|
||||
$list[] =
|
||||
[
|
||||
'name' => $user['key'],
|
||||
'address' => $client->getAccountAddress(
|
||||
$user['key']
|
||||
),
|
||||
'total' => $total,
|
||||
'rooms' => $rooms,
|
||||
];
|
||||
|
@ -13,7 +13,7 @@
|
||||
{{ 'balance' | trans }}: {{ user.name | account_balance | format_kva }}
|
||||
</span>
|
||||
<p>
|
||||
{{ 'boost' | trans }}: {{ user.name | account_address }}
|
||||
{{ 'boost' | trans }}: {{ user.address }}
|
||||
</p>
|
||||
{% if user.rooms | length %}
|
||||
<p>
|
||||
|
Loading…
x
Reference in New Issue
Block a user