mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 07:55:47 +01:00
Mark button that should preferably not be pressed, Add className option for ConfirmAlert
This commit is contained in:
@@ -38,6 +38,7 @@ class DeleteRepo extends React.Component<Props> {
|
||||
message: t("deleteRepo.confirmAlert.message"),
|
||||
buttons: [
|
||||
{
|
||||
className: "is-outlined",
|
||||
label: t("deleteRepo.confirmAlert.submit"),
|
||||
onClick: () => this.deleteRepo()
|
||||
},
|
||||
|
||||
@@ -28,6 +28,7 @@ class DeletePermissionButton extends React.Component<Props> {
|
||||
message: t("permission.delete-permission-button.confirm-alert.message"),
|
||||
buttons: [
|
||||
{
|
||||
className: "is-outlined",
|
||||
label: t("permission.delete-permission-button.confirm-alert.submit"),
|
||||
onClick: () => this.deletePermission()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user