mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-13 12:33:25 +02:00
Show following and sharing columns correctly in profiles table (#106)
This commit is contained in:
parent
327d9dd93c
commit
c8ee3537dc
1 changed files with 6 additions and 1 deletions
|
|
@ -82,7 +82,12 @@ export default function Tables() {
|
|||
client.getSigningProfiles(getSigningProfilesRequest, {}, (err, response) => {
|
||||
console.log(response);
|
||||
var signingProfileRows = response.getSqueakProfilesList().map(p =>
|
||||
[p.getProfileName(), p.getAddress(), p.getFollowing(), p.getSharing()]
|
||||
[
|
||||
p.getProfileName(),
|
||||
p.getAddress(),
|
||||
p.getFollowing().toString(),
|
||||
p.getSharing().toString(),
|
||||
]
|
||||
);
|
||||
setSigningProfiles(signingProfileRows);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue