mirror of
https://github.com/urbit/shrub.git
synced 2024-12-18 15:55:00 +03:00
contact-js: change text to 'delete group' when removing yourself as a member when you own the group
This commit is contained in:
parent
5aa7a91134
commit
ef8aa94171
File diff suppressed because one or more lines are too long
@ -514,7 +514,10 @@ export class ContactCard extends Component {
|
||||
`ml3 mt2 mb2 f9 pa1 ba red2 br2 b--red2 pointer ` + adminOpt
|
||||
}
|
||||
onClick={this.removeFromGroup}>
|
||||
Remove from Group
|
||||
{(
|
||||
props.ship === window.ship && props.path.includes(window.ship)
|
||||
? "Delete Group" : "Remove from Group"
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
<div className="h-100 w-100 overflow-x-hidden pb8">{card}</div>
|
||||
|
Loading…
Reference in New Issue
Block a user