mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-18 03:01:05 +01:00
make confirmAlert Buttons clickable
This commit is contained in:
@@ -43,6 +43,7 @@ class ConfirmAlert extends React.Component<Props> {
|
|||||||
<button
|
<button
|
||||||
key={i}
|
key={i}
|
||||||
onClick={() => this.handleClickButton(button)}
|
onClick={() => this.handleClickButton(button)}
|
||||||
|
href="javascript:void(0);"
|
||||||
>
|
>
|
||||||
{button.label}
|
{button.label}
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ export class DeleteGroupNavLink extends React.Component<Props> {
|
|||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: t("delete-group-button.confirm-alert.submit"),
|
label: t("delete-group-button.confirm-alert.submit"),
|
||||||
onClick: () => this.deleteGroup()
|
onClick: () => this.deleteGroup(),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: t("delete-group-button.confirm-alert.cancel"),
|
label: t("delete-group-button.confirm-alert.cancel"),
|
||||||
|
|||||||
Reference in New Issue
Block a user