Browse Source
Merge pull request #13993 from LeoMorgan113/feature/help-link-fix
Fixed help link for JavaScript library
pull/13995/head
Igor Kulikov
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
4 additions and
1 deletions
-
ui-ngx/src/app/modules/home/pages/admin/resource/js-library-table-config.resolver.ts
-
ui-ngx/src/app/shared/models/constants.ts
|
|
|
@ -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 ? |
|
|
|
|
|
|
|
@ -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`, |
|
|
|
|