summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard
diff options
context:
space:
mode:
authorAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>2020-09-07 11:45:27 +0200
committerAhmedeldeeb50 <ahmed.eldeeb.ext@orange.com>2020-09-07 11:45:27 +0200
commit307756f7a1c48a086ff3fc4c1c6d4d7204331a03 (patch)
treed4d0e3dc23a2312c334df90d9711c32fdc028983 /cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard
parent953b78a4c0c36d31c944baf93db4ae3d8584d232 (diff)
Fix custom key bug after tour-guide launch
Issue-ID: CCSDK-2014 Signed-off-by: Ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com> Change-Id: Ie13c2d88a9e9258728c9b66cc70f8ef24fc1b146
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/guideSteps.ts10
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/packages-dashboard.component.ts3
2 files changed, 8 insertions, 5 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/guideSteps.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/guideSteps.ts
index 87e6c1990..d101d6111 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/guideSteps.ts
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/guideSteps.ts
@@ -54,11 +54,11 @@ export const steps = [
title: 'Package tag',
},
// -------
- {
- anchorId: 'mt-packageKeys',
- content: 'Set your package custom keys (Optional)',
- title: 'Package keys',
- },
+ // {
+ // anchorId: 'mt-packageKeys',
+ // content: 'Set your package custom keys (Optional)',
+ // title: 'Package keys',
+ // },
// Temaplate & Mapping
{
anchorId: 'tm-templateTab',
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/packages-dashboard.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/packages-dashboard.component.ts
index c0a48d346..e0e80f29e 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/packages-dashboard.component.ts
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/packages-dashboard.component.ts
@@ -57,6 +57,9 @@ export class PackagesDashboardComponent implements OnInit, OnDestroy {
this.tourService.start();
this.tourService.events$.subscribe(res => {
console.log(res);
+ if (res.value && res.value.anchorId && res.value.anchorId.includes('mt-')) {
+ $('#nav-metadata-tab').trigger('click');
+ }
if (res.value && res.value.anchorId && res.value.anchorId.includes('tm-')) {
$('#nav-template-tab').trigger('click');
}