Merge pull request #13993 from LeoMorgan113/feature/help-link-fix

Fixed help link for JavaScript library
This commit is contained in:
Igor Kulikov 2025-09-10 12:05:01 +03:00 committed by GitHub
commit dff87470e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -81,7 +81,9 @@ export class JsLibraryTableConfigResolver {
search: 'javascript.search',
selectedEntities: 'javascript.selected-javascript-resources'
};
this.config.entityResources = entityTypeResources.get(EntityType.TB_RESOURCE);
this.config.entityResources = {
helpLinkId: 'jsExtension'
};
this.config.headerComponent = JsLibraryTableHeaderComponent;
this.config.entityTitle = (resource) => resource ?

View File

@ -177,6 +177,7 @@ export const HelpLinks = {
entitiesImport: `${helpBaseUrl}/docs${docPlatformPrefix}/user-guide/bulk-provisioning`,
rulechains: `${helpBaseUrl}/docs${docPlatformPrefix}/user-guide/ui/rule-chains`,
lwm2mResourceLibrary: `${helpBaseUrl}/docs${docPlatformPrefix}/reference/lwm2m-api`,
jsExtension: `${helpBaseUrl}/docs${docPlatformPrefix}/user-guide/contribution/ui/advanced-development`,
dashboards: `${helpBaseUrl}/docs${docPlatformPrefix}/user-guide/ui/dashboards`,
otaUpdates: `${helpBaseUrl}/docs${docPlatformPrefix}/user-guide/ota-updates`,
widgetTypes: `${helpBaseUrl}/docs${docPlatformPrefix}/user-guide/ui/widget-library/#widget-types`,