diff --git a/samples/react-personal-tools-list/src/webparts/myTools/MyToolsWebPart.ts b/samples/react-personal-tools-list/src/webparts/myTools/MyToolsWebPart.ts index 7e5f82e45..01b6c1072 100644 --- a/samples/react-personal-tools-list/src/webparts/myTools/MyToolsWebPart.ts +++ b/samples/react-personal-tools-list/src/webparts/myTools/MyToolsWebPart.ts @@ -124,15 +124,16 @@ export default class MyToolsWebPart extends BaseClientSideWebPart 0 ? this.properties.wpSites : [{ url: this.context.pageContext.web.serverRelativeUrl, title: this.context.pageContext.web.title }], + label: 'Select site that contains the tools lists', + // initialSites: this.properties.wpSites?.length > 0 ? this.properties.wpSites : [{ url: this.context.pageContext.web.serverRelativeUrl, title: this.context.pageContext.web.title }], + initialSites: this.properties.wpSites, context: this.context as any, deferredValidationTime: 500, multiSelect: false,