landscape: loosen owner check in popover

Fixes urbit/landscape#960
This commit is contained in:
Matilde Park 2021-06-14 13:50:19 -05:00
parent 014707622f
commit d52847c492

View File

@ -31,7 +31,7 @@ export function PopoverRoutes(
const groupSize = props.group.members.size;
const owner = resourceFromPath(props.association.group).ship.slice(1) === window.ship;
const owner = resourceFromPath(props.association?.group ?? '~zod/group').ship.slice(1) === window.ship;
const admin = props.group?.tags?.role?.admin.has(window.ship) || false;