add basic copy for delay in abandon appearing
This commit is contained in:
parent
0f51cf8986
commit
588b9c5e32
1 changed files with 12 additions and 9 deletions
|
@ -64,7 +64,7 @@ function ModalRemoveFile(props: Props) {
|
|||
)}
|
||||
{!deleteChecked && (
|
||||
<p className="help">
|
||||
{__('This file will be removed from your Library but will remain in your Downloads folder.')}
|
||||
{__('This file will be removed from your Library but will remain in your Downloads folder.')}
|
||||
</p>
|
||||
)}
|
||||
{/* @endif */}
|
||||
|
@ -73,14 +73,17 @@ function ModalRemoveFile(props: Props) {
|
|||
</React.Fragment>
|
||||
}
|
||||
actions={
|
||||
<div className="card__actions">
|
||||
<Button
|
||||
button="primary"
|
||||
label={__('OK')}
|
||||
onClick={() => deleteFile(uri, deleteChecked, claimIsMine ? abandonChecked : false)}
|
||||
/>
|
||||
<Button button="link" label={__('Cancel')} onClick={closeModal} />
|
||||
</div>
|
||||
<>
|
||||
<div className="section__actions">
|
||||
<Button
|
||||
button="primary"
|
||||
label={__('OK')}
|
||||
onClick={() => deleteFile(uri, deleteChecked, claimIsMine ? abandonChecked : false)}
|
||||
/>
|
||||
<Button button="link" label={__('Cancel')} onClick={closeModal} />
|
||||
</div>
|
||||
<p className="help">{__('These changes will appear shortly.')}</p>
|
||||
</>
|
||||
}
|
||||
/>
|
||||
</Modal>
|
||||
|
|
Loading…
Reference in a new issue