fix typos

This commit is contained in:
Tobias Maestrini 2024-02-25 23:30:31 +01:00
parent de56496a18
commit f69e9296aa
1 changed files with 5 additions and 4 deletions

View File

@ -124,15 +124,16 @@ export default class MyToolsWebPart extends BaseClientSideWebPart<IMyToolsWebPar
PropertyPaneCheckbox('twoColumns', { PropertyPaneCheckbox('twoColumns', {
checked: false, checked: false,
disabled: false, disabled: false,
text: "Show links in two columns? (Defaults to 1column if this is not checked)" text: "Show links in two columns? (defaults to 1 column if this is not checked)"
}) })
] ]
}, { }, {
groupName: "List settings", groupName: "Lists settings",
groupFields: [ groupFields: [
PropertyFieldSitePicker('wpSites', { PropertyFieldSitePicker('wpSites', {
label: 'Select site that contains the tools list', 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?.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, context: this.context as any,
deferredValidationTime: 500, deferredValidationTime: 500,
multiSelect: false, multiSelect: false,