Optimizations

This commit is contained in:
Sergej Schwabauer 2022-03-21 15:39:11 +01:00
parent 0de917f6ba
commit 8a8435eda9
2 changed files with 4 additions and 5 deletions

View File

@ -12,13 +12,13 @@
// Components that allow authors to embed arbitrary script code should set this to true.
// https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f
"requiresCustomScript": false,
"supportedHosts": ["SharePointWebPart"],
"supportedHosts": ["SharePointWebPart", "TeamsTab"],
"preconfiguredEntries": [{
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
"group": { "default": "Other" },
"title": { "default": "PasswordVault" },
"description": { "default": "PasswordVault description" },
"title": { "default": "Password vault" },
"description": { "default": "Simple Password vault webpart" },
"officeFabricIconFontName": "ProtectRestrict",
"properties": {
"masterPW": "",

View File

@ -29,7 +29,6 @@ export default class PasswordVaultWebPart extends SPFxAppDevClientSideWebPart<IP
public render(): void {
this.log(this.properties);
const element: React.ReactElement<IPasswordVaultProps> = React.createElement(
PasswordVault,
{
@ -98,7 +97,7 @@ export default class PasswordVaultWebPart extends SPFxAppDevClientSideWebPart<IP
${this.context.instanceId}
</div>
<div>
<a href="https://github.com/SPFxAppDev/sp-rte-webpart" target="_blank">More info</a>
<a href="https://github.com/SPFxAppDev/sp-passwordvault-webpart" target="_blank">More info</a>
</div>
`
})