groups: admins and mods can invite users

This commit is contained in:
Matilde Park 2020-07-28 16:26:23 -04:00
parent bcd29e6062
commit e23e86ebd8

View File

@ -155,7 +155,7 @@ export class ContactSidebar extends Component<ContactSidebarProps, ContactSideba
<div className="overflow-auto h-100"> <div className="overflow-auto h-100">
<Link <Link
to={'/~groups/add' + props.path} to={'/~groups/add' + props.path}
className={((props.path.includes(window.ship)) className={((role === "admin" || role === "moderator")
? 'dib' ? 'dib'
: 'dn')} : 'dn')}
> >