feat: update version to 1.2.1 and improve title handling in organization chart
This commit is contained in:
@@ -26,10 +26,12 @@ assert(packageSolution.solution.includeClientSideAssets === true && packageSolut
|
||||
'Central deployment is not configured.');
|
||||
assert(!!config.bundles['organization-chart-webpart'], 'Bundle name is inconsistent.');
|
||||
assert(manifest.componentType === 'WebPart' && manifest.alias === 'OrganizationChartWebPart', 'Manifest is invalid.');
|
||||
assert(packageJson.version === '1.2.0' && packageSolution.solution.version === '1.2.0.0',
|
||||
assert(packageJson.version === '1.2.1' && packageSolution.solution.version === '1.2.1.0',
|
||||
'Organization Chart version is inconsistent.');
|
||||
assert(webPart.indexOf("PropertyPaneTextField('title'") >= 0 && component.indexOf('styles.heading') >= 0,
|
||||
'Configurable web part title is missing.');
|
||||
assert(webPart.indexOf("String(this.properties.title || '').trim()") >= 0,
|
||||
'An empty web part title must remain hidden.');
|
||||
assert(service.indexOf('/_api/SP.UserProfiles.PeopleManager/GetPropertiesFor') >= 0, 'User Profile REST access is missing.');
|
||||
assert(service.indexOf('/_api/SP.UserProfiles.PeopleManager/GetMyProperties') >= 0,
|
||||
'Reliable current-user profile access is missing.');
|
||||
|
||||
Reference in New Issue
Block a user