make confirmAlert Buttons clickable

This commit is contained in:
Maren Süwer
2019-01-22 16:44:26 +01:00
parent 368e4e6dca
commit d957655098
2 changed files with 2 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ class ConfirmAlert extends React.Component<Props> {
<button
key={i}
onClick={() => this.handleClickButton(button)}
href="javascript:void(0);"
>
{button.label}
</button>

View File

@@ -28,7 +28,7 @@ export class DeleteGroupNavLink extends React.Component<Props> {
buttons: [
{
label: t("delete-group-button.confirm-alert.submit"),
onClick: () => this.deleteGroup()
onClick: () => this.deleteGroup(),
},
{
label: t("delete-group-button.confirm-alert.cancel"),