popover-routes: put something resembling a real path

This commit is contained in:
Hunter Miller 2021-10-08 12:20:42 -05:00 committed by GitHub
parent 789aea4711
commit 17736498eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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