diff --git a/ui/src/admin/components/chronograf/OrganizationsTableRow.js b/ui/src/admin/components/chronograf/OrganizationsTableRow.js index c68f0f77ac..5d6cf6e648 100644 --- a/ui/src/admin/components/chronograf/OrganizationsTableRow.js +++ b/ui/src/admin/components/chronograf/OrganizationsTableRow.js @@ -20,13 +20,14 @@ class OrganizationsTableRow extends Component { await meChangeOrganization(links.me, {organization: organization.id}) router.push('') } + handleUpdateOrgName = newName => { const {organization, onRename} = this.props onRename(organization, newName) } - handleDeleteOrg = organization => { - const {onDelete} = this.props + handleDeleteOrg = () => { + const {onDelete, organization} = this.props onDelete(organization) }