interface: pass station to groupify button

Fixes #3592.
This commit is contained in:
Matilde Park 2020-09-29 14:29:20 -04:00
parent 6f8ff9c2a1
commit 5148df8566
2 changed files with 6 additions and 4 deletions

View File

@ -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">
@ -52,7 +52,8 @@ export class GroupifyButton extends Component {
associations,
contacts,
groups,
station
station,
changeLoading
} = this.props;
const groupPath = association['group-path'];

View File

@ -82,6 +82,7 @@ export class SettingsScreen extends Component {
contacts={contacts}
groups={groups}
api={api}
station={station}
changeLoading={this.changeLoading} />
<DeleteButton
isOwner={isOwner}