interface: fix fetch to decide when to show share banner

This commit is contained in:
Logan Allen 2021-02-04 16:02:59 -06:00
parent c29608018b
commit 414498b666

View File

@ -59,10 +59,10 @@ export const ShareProfile = (props) => {
} else {
const groupShared = await props.api.contacts.fetchIsAllowed(
`~${window.ship}`,
'personal',
res.entity,
res.name,
res.entity,
false
true
);
setShowBanner(!groupShared);
}