Skip to content

Commit

Permalink
Do not show confirmation subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
oharsta committed Oct 4, 2023
1 parent d4dbed7 commit bad7e75
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/src/components/ConfirmationDialog.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import {AlertType, Modal,} from "@surfnet/sds";
import {Modal,} from "@surfnet/sds";
import I18n from "../locale/I18n";


Expand All @@ -23,14 +23,14 @@ export default function ConfirmationDialog({
<Modal
confirm={confirm}
cancel={cancel}
alertType={isError ? AlertType.Error : isWarning ? AlertType.Warning : null}
alertType={null}
question={question}
children={children}
title={confirmationHeader}
cancelButtonLabel={I18n.t("confirmationDialog.cancel")}
confirmationButtonLabel={confirmationTxt}
confirmDisabled={disabledConfirm}
subTitle={isError ? I18n.t("confirmationDialog.subTitleError") : I18n.t("confirmationDialog.subTitle")}
subTitle={null}
full={largeWidth}/>
);

Expand Down

0 comments on commit bad7e75

Please sign in to comment.