mirror of
https://github.com/urbit/shrub.git
synced 2024-11-24 13:06:09 +03:00
Merge pull request #2569 from urbit/mp/groups/too-many-removes
groups: permission remove button for group members
This commit is contained in:
commit
64a693a037
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user