Show following and sharing columns correctly in profiles table (#106)

This commit is contained in:
Jonathan Zernik 2020-07-21 14:08:28 -07:00 committed by GitHub
parent 327d9dd93c
commit c8ee3537dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
});