File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 6
6
"new" : [],
7
7
"enhancements" : [],
8
8
"fixes" : [
9
- " Documentation for `RichText`: correct event handler name [#898](https://github.com/pnp/sp-dev-fx-controls-react/pull/898)" ,
9
+ " Documentation for `RichText`: correct event handler name [#898](https://github.com/pnp/sp-dev-fx-controls-react/pull/898)"
10
10
]
11
11
},
12
12
"contributions" : [
Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ export const SitePicker: React.FunctionComponent<ISitePickerProps> = (props: Rea
148
148
key : s . url ,
149
149
text : s . title ,
150
150
data : s ,
151
- selected : selectedSitesIds . indexOf ( s . url ) !== - 1
151
+ // selected: selectedSitesIds.indexOf(s.url) !== -1
152
152
} ) ;
153
153
} ) ;
154
154
}
@@ -207,7 +207,11 @@ export const SitePicker: React.FunctionComponent<ISitePickerProps> = (props: Rea
207
207
208
208
return sites ;
209
209
} ) ;
210
- } , [ initialSites ] ) ;
210
+
211
+ if ( ! allSites ) {
212
+ setIsLoading ( true ) ;
213
+ }
214
+ } , [ initialSites , allSites ] ) ;
211
215
212
216
React . useEffect ( ( ) => {
213
217
if ( ! context || ! isLoading ) {
You can’t perform that action at this time.
0 commit comments