mirror of
https://github.com/urbit/shrub.git
synced 2024-12-29 15:14:17 +03:00
parent
6f8ff9c2a1
commit
5148df8566
@ -30,7 +30,7 @@ export class GroupifyButton extends Component {
|
||||
return this.state.targetGroup ? (
|
||||
<div className="mt4">
|
||||
<Toggle
|
||||
boolean={inclusive}
|
||||
boolean={this.state.inclusive}
|
||||
change={this.changeInclusive.bind(this)}
|
||||
/>
|
||||
<span className="dib f9 white-d inter ml3">
|
||||
@ -42,7 +42,7 @@ export class GroupifyButton extends Component {
|
||||
</div>
|
||||
) : <div />;
|
||||
}
|
||||
|
||||
|
||||
render() {
|
||||
const { inclusive, targetGroup } = this.state;
|
||||
const {
|
||||
@ -52,7 +52,8 @@ export class GroupifyButton extends Component {
|
||||
associations,
|
||||
contacts,
|
||||
groups,
|
||||
station
|
||||
station,
|
||||
changeLoading
|
||||
} = this.props;
|
||||
|
||||
const groupPath = association['group-path'];
|
||||
@ -94,7 +95,7 @@ export class GroupifyButton extends Component {
|
||||
});
|
||||
}}
|
||||
className={
|
||||
'dib f9 black gray4-d bg-gray0-d ba pa2 mt4 b--black ' +
|
||||
'dib f9 black gray4-d bg-gray0-d ba pa2 mt4 b--black ' +
|
||||
'b--gray1-d pointer'
|
||||
}>Convert to group</a>
|
||||
</div>
|
||||
|
@ -82,6 +82,7 @@ export class SettingsScreen extends Component {
|
||||
contacts={contacts}
|
||||
groups={groups}
|
||||
api={api}
|
||||
station={station}
|
||||
changeLoading={this.changeLoading} />
|
||||
<DeleteButton
|
||||
isOwner={isOwner}
|
||||
|
Loading…
Reference in New Issue
Block a user