mirror of
https://github.com/urbit/shrub.git
synced 2024-12-11 11:02:25 +03:00
popover-routes: put something resembling a real path
This commit is contained in:
parent
789aea4711
commit
17736498eb
@ -29,7 +29,7 @@ export function PopoverRoutes(
|
|||||||
useHashLink();
|
useHashLink();
|
||||||
|
|
||||||
const groupSize = props.group.members.size;
|
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 owner = deSig(ship) === window.ship;
|
||||||
|
|
||||||
const admin = props.group?.tags?.role?.admin.has(window.ship) || false;
|
const admin = props.group?.tags?.role?.admin.has(window.ship) || false;
|
||||||
|
Loading…
Reference in New Issue
Block a user