Commit a3cfd0a4 authored by Mohammad Nakhaee's avatar Mohammad Nakhaee
Browse files

Edit the message of conflict error dialog in GUI

parent 24250889
Pipeline #135922 failed with stages
in 58 minutes and 35 seconds
......@@ -163,13 +163,13 @@ export const ArchiveSaveButton = React.memo(function ArchiveSaveButton(props) {
aria-describedby="alert-dialog-description"
>
<DialogContent>
<DialogContentText id="alert-dialog-description">
Your changes are not submitted yet. Discard changes?
<DialogContentText>
The changes cannot be saved. The content has been modified by someone else.
</DialogContentText>
</DialogContent>
<DialogActions>
<Button onClick={() => setOpenErrorDialog(false)} autoFocus>OK</Button>
<Button onClick={handleReload}>Reload</Button>
<Button onClick={() => setOpenErrorDialog(false)}>OK</Button>
<Button onClick={handleReload} autoFocus>Reload</Button>
</DialogActions>
</Dialog>
</React.Fragment>
......@@ -183,7 +183,7 @@ export const ArchiveReloadButton = React.memo(function ArchiveSaveButton(props)
color="primary"
onClick={reload}
>
<Tooltip title="Save archive">
<Tooltip title="Reload archive">
<ReloadIcon/>
</Tooltip>
</IconButton>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment