Skip to content

Commit 065ce2b

Browse files
author
Piotr Siatka
committed
Fix onSave handler not called bug.
1 parent d271e32 commit 065ce2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controls/filePicker/FilePicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export class FilePicker extends React.Component<IFilePickerProps, IFilePickerSta
201201
* On save action
202202
*/
203203
private _handleSave = (filePickerResult: IFilePickerResult) => {
204-
this.props.onChanged(filePickerResult);
204+
this.props.onSave(filePickerResult);
205205
this.setState({
206206
panelOpen: false
207207
});

0 commit comments

Comments
 (0)