Fix orgs not deleting
parent
4438d982aa
commit
4e62a9ac40
|
@ -20,13 +20,14 @@ class OrganizationsTableRow extends Component {
|
||||||
await meChangeOrganization(links.me, {organization: organization.id})
|
await meChangeOrganization(links.me, {organization: organization.id})
|
||||||
router.push('')
|
router.push('')
|
||||||
}
|
}
|
||||||
|
|
||||||
handleUpdateOrgName = newName => {
|
handleUpdateOrgName = newName => {
|
||||||
const {organization, onRename} = this.props
|
const {organization, onRename} = this.props
|
||||||
onRename(organization, newName)
|
onRename(organization, newName)
|
||||||
}
|
}
|
||||||
|
|
||||||
handleDeleteOrg = organization => {
|
handleDeleteOrg = () => {
|
||||||
const {onDelete} = this.props
|
const {onDelete, organization} = this.props
|
||||||
onDelete(organization)
|
onDelete(organization)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue