summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/shared-modules
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-04-22 13:42:17 +0000
committerGerrit Code Review <gerrit@onap.org>2020-04-22 13:42:17 +0000
commitea56f0811351dba0a7c6da1dbe8f8725a42b3f52 (patch)
treea250ab83a6433645f04ebdaca2056776f21c2c6e /cds-ui/designer-client/src/app/modules/shared-modules
parent12351451744e4171d739a73e8a0714dfed201e4f (diff)
parentb85c484da92c3b6721bb241376074fd9d7a712e2 (diff)
Merge "Adding Resource dictionary"
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/shared-modules')
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html7
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts7
-rw-r--r--cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts9
3 files changed, 12 insertions, 11 deletions
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html
index 4b1c17e35..bfccac7a0 100644
--- a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.html
@@ -5,17 +5,18 @@
<div class="overflow-container">
<ul class="menu-dropdown">
<li class="active">
- <a (click)="redirect()" routerLink="/packages">Packages</a>
+ <a routerLink="/packages">Packages</a>
<span class="icon">
<!-- <i class="fa fa-dashboard"></i> -->
<i class="icon-nav-packages"></i>
</span>
</li>
- <li class="menu-hasdropdown">
- <a >Data Dictionary</a>
+ <li>
+ <a routerLink="/resource-dictionary">Resource Dictionary</a>
<span class="icon">
<i class="icon-nav-dictionary"></i>
</span>
+ </li>
<!-- <label title="toggle menu" for="settings">
<span class="downarrow">
<i class="fa fa-caret-down"></i>
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts
index db87f8fdf..38e368526 100644
--- a/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/header/header.component.ts
@@ -13,8 +13,7 @@ export class HeaderComponent implements OnInit {
ngOnInit() {
}
- redirect() {
- this.router.navigate(['/packages']);
- }
-
+ // redirect() {
+ // this.router.navigate(['/packages']);
+ // }
}
diff --git a/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts b/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts
index 6b6d39689..7229891f5 100644
--- a/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts
+++ b/cds-ui/designer-client/src/app/modules/shared-modules/shared-modules.module.ts
@@ -1,13 +1,14 @@
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { HeaderComponent } from './header/header.component';
-
-
+import { RouterModule } from '@angular/router';
@NgModule({
declarations: [HeaderComponent],
imports: [
- CommonModule
- ], exports : [HeaderComponent]
+ CommonModule,
+ RouterModule,
+ ],
+ exports : [HeaderComponent]
})
export class SharedModulesModule { }