Skip to content

Commit 98f8533

Browse files
author
Jonatan Salas
committed
#2 Added message for dialog with name of file
1 parent b2c037c commit 98f8533

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/common/FileInfo.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,10 @@ export default class FileUploadItem extends Component {
7575
<Col xs={4} md={4}>
7676
<Modal show={show}>
7777
<Modal.Header>
78-
<Modal.Title>Delete <b>{file.name}</b></Modal.Title>
78+
<Modal.Title>Delete</Modal.Title>
7979
</Modal.Header>
8080
<Modal.Body>
81-
<p>Are you sure that you want to delete this file?</p>
81+
<p>Are you sure that you want to delete this file: <b>{file.name}</b>?</p>
8282
</Modal.Body>
8383
<Modal.Footer>
8484
<Button onClick={() => this.showModal(false)}>

0 commit comments

Comments
 (0)