diff options
Diffstat (limited to 'cds-ui/client/src/app/common')
4 files changed, 9 insertions, 3 deletions
diff --git a/cds-ui/client/src/app/common/core/store/models/blueprintState.model.ts b/cds-ui/client/src/app/common/core/store/models/blueprintState.model.ts index 5981f0136..6d2659248 100644 --- a/cds-ui/client/src/app/common/core/store/models/blueprintState.model.ts +++ b/cds-ui/client/src/app/common/core/store/models/blueprintState.model.ts @@ -25,6 +25,7 @@ import { IBlueprint } from './blueprint.model'; export interface IBlueprintState { blueprint: IBlueprint, + name?: string; files?: any; filesData?: any; isLoadSuccess?: boolean; diff --git a/cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts b/cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts index b6c23ecf8..37a659da6 100644 --- a/cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts +++ b/cds-ui/client/src/app/common/core/store/reducers/blueprint.reducer.ts @@ -53,6 +53,7 @@ export function blueprintReducer(state: IBlueprintState = initialBlueprintState, case BlueprintActions.SET_BLUEPRINT_STATE : return {...state, blueprint: action.payload.blueprint, + name: action.payload.name, files: action.payload.files, filesData: action.payload.filesData } diff --git a/cds-ui/client/src/app/common/core/store/state/blueprint.state.ts b/cds-ui/client/src/app/common/core/store/state/blueprint.state.ts index 1899cb26e..19a837693 100644 --- a/cds-ui/client/src/app/common/core/store/state/blueprint.state.ts +++ b/cds-ui/client/src/app/common/core/store/state/blueprint.state.ts @@ -25,6 +25,7 @@ import { IBlueprint } from '../models/blueprint.model'; export const initialBlueprintState : IBlueprintState = { blueprint : {} as IBlueprint, + name: '', files: [], filesData: [], isLoadSuccess: false, diff --git a/cds-ui/client/src/app/common/modules/app-material.module.ts b/cds-ui/client/src/app/common/modules/app-material.module.ts index c0e8425c2..9ad2063f5 100644 --- a/cds-ui/client/src/app/common/modules/app-material.module.ts +++ b/cds-ui/client/src/app/common/modules/app-material.module.ts @@ -54,7 +54,8 @@ import { MatAutocompleteModule, MatTabsModule, MatToolbarModule, MatTooltipModule, - MatTreeModule } from '@angular/material'; + MatTreeModule, + MatFormFieldModule } from '@angular/material'; @NgModule({ imports: [ @@ -92,7 +93,8 @@ import { MatAutocompleteModule, MatToolbarModule, MatTooltipModule, MatTreeModule, - MatListModule + MatListModule, + MatFormFieldModule ], exports: [ MatAutocompleteModule, @@ -128,7 +130,8 @@ import { MatAutocompleteModule, MatTabsModule, MatToolbarModule, MatTooltipModule, - MatTreeModule + MatTreeModule, + MatFormFieldModule ] }) export class AppMaterialModule { } |