Skip to content

Commit e81e729

Browse files
fix endentation and update changelog
1 parent 8865603 commit e81e729

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.JSON

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"enhancements": [
1212
"`ListView`: Use new DragDropFiles control [#856](https://github.com/pnp/sp-dev-fx-controls-react/issues/856)",
1313
"`FilePicker`: Use new DragDropFiles control [#856](https://github.com/pnp/sp-dev-fx-controls-react/issues/856)",
14-
"`ListView`: Ability to provide custom sorting function [#880](https://github.com/pnp/sp-dev-fx-controls-react/issues/880)"
14+
"`ListView`: Ability to provide custom sorting function [#880](https://github.com/pnp/sp-dev-fx-controls-react/issues/880)",
15+
"`FilePicker`: Allow panel on FilePicker to be invoked after first load [#886](https://github.com/pnp/sp-dev-fx-controls-react/issues/886)"
1516

1617
],
1718
"fixes": [

src/controls/filePicker/FilePicker.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export class FilePicker extends React.Component<
120120
*
121121
* @param nextProps
122122
*/
123-
public componentWillReceiveProps(nextProps: IFilePickerProps): void {
123+
public componentWillReceiveProps(nextProps: IFilePickerProps): void {
124124
if (nextProps.isPanelOpen || nextProps.isPanelOpen !== this.props.isPanelOpen) {
125125
this.setState({
126126
panelOpen: nextProps.isPanelOpen
@@ -415,7 +415,7 @@ export class FilePicker extends React.Component<
415415
}
416416
if (!this.props.hideLocalMultipleUploadTab) {
417417
links.push({
418-
name: strings.UploadLinkLabel+" "+strings.OneDriveRootFolderName,
418+
name: strings.UploadLinkLabel + " " + strings.OneDriveRootFolderName,
419419
url: addUrl ? "#Multipleupload" : undefined,
420420
key: "keyMultipleUpload",
421421
icon: "BulkUpload",

0 commit comments

Comments
 (0)