mirror of
https://github.com/element-hq/element-web.git
synced 2024-12-14 08:09:58 +03:00
Disable close icon during export
This commit is contained in:
parent
b0be7d2861
commit
7d5db4689c
2 changed files with 4 additions and 3 deletions
|
@ -268,7 +268,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
|||
<span className="mx_ExportDialog_subheading">{ _t("Format") }</span>
|
||||
|
||||
<StyledRadioGroup
|
||||
name="feedbackRating"
|
||||
name="exportFormat"
|
||||
value={exportFormat}
|
||||
onChange={(key) => setExportFormat(exportFormats[key])}
|
||||
definitions={exportFormatOptions}
|
||||
|
@ -332,7 +332,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
|||
)}
|
||||
</p>
|
||||
<DialogButtons
|
||||
primaryButton={_t("Abort export process")}
|
||||
primaryButton={_t("Stop")}
|
||||
primaryButtonClass="danger"
|
||||
hasCancel={true}
|
||||
cancelButton={_t("Continue")}
|
||||
|
@ -348,6 +348,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
|||
title={_t("Exporting your data...")}
|
||||
className="mx_ExportDialog"
|
||||
contentId="mx_Dialog_content"
|
||||
hasCancel={false}
|
||||
onFinished={onFinished}
|
||||
fixedWidth={true}
|
||||
>
|
||||
|
|
|
@ -2273,7 +2273,7 @@
|
|||
"Include Attachments": "Include Attachments",
|
||||
"Export": "Export",
|
||||
"Are you sure you want to stop exporting your data? If you do, you'll need to start over.": "Are you sure you want to stop exporting your data? If you do, you'll need to start over.",
|
||||
"Abort export process": "Abort export process",
|
||||
"Stop": "Stop",
|
||||
"Exporting your data...": "Exporting your data...",
|
||||
"Feedback sent": "Feedback sent",
|
||||
"Rate %(brand)s": "Rate %(brand)s",
|
||||
|
|
Loading…
Reference in a new issue