Merge pull request #2569 from urbit/mp/groups/too-many-removes

groups: permission remove button for group members
This commit is contained in:
Fang 2020-03-20 11:48:01 +01:00 committed by GitHub
commit 64a693a037
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,9 @@ export class ContactSidebar extends Component {
);
});
let adminOpt = (props.path.includes(`~${window.ship}/`))
? "dib" : "dn";
let groupItems =
Array.from(group).map((member) => {
return (
@ -65,7 +68,7 @@ export class ContactSidebar extends Component {
title={member}>
{cite(member)}
</p>
<p className="dib v-mid f9 mh2 red2 pointer"
<p className={"v-mid f9 mh3 red2 pointer " + adminOpt}
style={{paddingTop: 6}}
onClick={() => {
props.api.setSpinner(true);