diff options
author | 2020-02-26 17:47:04 +0200 | |
---|---|---|
committer | 2020-02-26 17:08:55 +0000 | |
commit | 71f6d98f1003dc9acc212e4132f03bb21c0b73c8 (patch) | |
tree | 8ffa7ce953617c621a81422861d01aacc10eb182 /cds-ui/designer-client/src/app/modules/feature-modules/packages/model/package-dashboard.state.ts | |
parent | f627cd4269989b22edfcac044ea3a764fbc3ee68 (diff) |
adding view package tabs
Issue-ID: CCSDK-2120
Signed-off-by: ahmedeldeeb50 <ahmed.eldeeb.ext@orange.com>
Change-Id: I21af8c2b193b3fec4e5bc59e44b7a3b852f3b784
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/model/package-dashboard.state.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/model/package-dashboard.state.ts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/model/package-dashboard.state.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/model/package-dashboard.state.ts index cb936413c..b010f7a69 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/model/package-dashboard.state.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/model/package-dashboard.state.ts @@ -20,8 +20,8 @@ limitations under the License. */ -import {BluePrintDetailModel} from './BluePrint.detail.model'; -import {Mapping, Scripts, Template} from '../package-creation/mapping-models/CBAPacakge.model'; +import { BluePrintDetailModel } from './BluePrint.detail.model'; +import { Mapping, Scripts, Template } from '../package-creation/mapping-models/CBAPacakge.model'; export class PackageDashboardState { configuration: BluePrintDetailModel; @@ -30,4 +30,11 @@ export class PackageDashboardState { public mapping: Mapping; public imports: Map<string, string>; + constructor() { + this.scripts = new Scripts(); + this.templates = new Template(); + this.mapping = new Mapping(); + this.imports = new Map<string, string>(); + } + } |