File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
src/controls/filePicker/SiteFilePickerTab Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 21
21
"fixes" : [
22
22
" `FilePicker`: `defaultFolderAbsolutePath` does not work Out of context [#1023](https://github.com/pnp/sp-dev-fx-controls-react/issues/1023)" ,
23
23
" `FilePicker`: Fixed showing the selection circle on recent tabs [#1048](https://github.com/pnp/sp-dev-fx-controls-react/issues/1048)" ,
24
+ " `FilePicker`: Your organisation tab breadcrumb not working [#1056](https://github.com/pnp/sp-dev-fx-controls-react/issues/1056)" ,
24
25
" `ModernTaxonomyPicker`: correctly display with RTL mode [#1041](https://github.com/pnp/sp-dev-fx-controls-react/pull/1041)"
25
26
]
26
27
},
Original file line number Diff line number Diff line change @@ -28,8 +28,9 @@ export default class SiteFilePickerTab extends React.Component<ISiteFilePickerTa
28
28
isCurrentItem : false ,
29
29
text : props . context . pageContext . web . title ,
30
30
key : props . context . pageContext . web . id . toString ( ) ,
31
- onClick : ( ev , itm ) => { this . onBreadcrumpItemClick ( itm ) ; }
32
31
} ;
32
+ // add click event after defining breadcrumb so that it also applies to breadcrumb items passed to the component as properties
33
+ breadcrumbSiteNode . onClick = ( ev , itm ) => { this . onBreadcrumpItemClick ( itm ) ; }
33
34
34
35
let breadcrumbItems : FilePickerBreadcrumbItem [ ] = [ breadcrumbSiteNode ] ;
35
36
You can’t perform that action at this time.
0 commit comments