more
This commit is contained in:
@@ -515,7 +515,9 @@ const DocEditPage = () => {
|
||||
setShowSaveModal(true);
|
||||
};
|
||||
|
||||
const handleReport = () => {};
|
||||
const handleReport = () => {
|
||||
setShowSaveModal(false);
|
||||
};
|
||||
|
||||
const handleConfirmReport = () => {
|
||||
setShowSaveModal(true);
|
||||
@@ -669,7 +671,7 @@ const DocEditPage = () => {
|
||||
issuetext={issueText}
|
||||
setIssueText={setIssueText}
|
||||
modalText={
|
||||
"Please describe the issue. Other pertinent information will be automatically logged."
|
||||
"Date/time and document id automatically logged. Support will address this within 24 hours."
|
||||
}
|
||||
/>
|
||||
) : null}
|
||||
|
||||
@@ -24,7 +24,7 @@ const ConfirmModal = ({
|
||||
<Modal show="true" onHide={onCancel} size="lg">
|
||||
<Modal.Header closeButton>
|
||||
{isReport ? (
|
||||
<Modal.Title>Report issue</Modal.Title>
|
||||
<Modal.Title>Report an issue</Modal.Title>
|
||||
) : (
|
||||
<Modal.Title>Confirmation</Modal.Title>
|
||||
)}
|
||||
@@ -39,7 +39,7 @@ const ConfirmModal = ({
|
||||
value={issueText}
|
||||
message={"data.captionTwo.message"}
|
||||
onChange={(e) => setIssueText(e.target.value)}
|
||||
label={issueText ? "" : "Issue description"}
|
||||
label={issueText ? "" : "Description of issue"}
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user