From f69e9296aa76fcccc8f1d35a608ebce9e5b0dc07 Mon Sep 17 00:00:00 2001 From: Tobias Maestrini Date: Sun, 25 Feb 2024 23:30:31 +0100 Subject: [PATCH] fix typos --- .../src/webparts/myTools/MyToolsWebPart.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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,