Skip to content

Commit 15d4b2e

Browse files
incomplete events added.
1 parent 992de83 commit 15d4b2e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/FileMessage/FileMessage.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ const Circle = ProgressBar.Circle;
99

1010
export class FileMessage extends Component {
1111

12-
onClick() {
12+
onClick(e) {
1313
if (!this.props.data.status)
1414
return;
1515

1616
if (!this.props.data.status.download && this.props.onDownload instanceof Function)
17-
this.props.onDownload();
17+
this.props.onDownload(e);
1818
else if (this.props.data.status.download && this.props.onOpen instanceof Function)
19-
this.props.onOpen();
19+
this.props.onOpen(e);
2020
}
2121

2222
render() {

0 commit comments

Comments
 (0)