diff options
author | 2020-02-25 18:47:21 +0000 | |
---|---|---|
committer | 2020-02-25 18:47:21 +0000 | |
commit | fe3f59a016a53f7b19a107f73fb2341677a29651 (patch) | |
tree | c52e9277820d003df7c9f42168455ea1afbc2e3a /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions/functions.component.ts | |
parent | 568ff4d867dd09c087246fe7cc343c1d581e6255 (diff) | |
parent | 2203e84a0fd3308ce99e4de6ed2519e663008316 (diff) |
Merge "add single function to action and save it to frontend store."
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions/functions.component.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions/functions.component.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions/functions.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions/functions.component.ts index 5a86150e8..e1e980ed9 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions/functions.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions/functions.component.ts @@ -1,6 +1,6 @@ import {Component, OnInit} from '@angular/core'; import {DesignerStore} from '../designer.store'; -import {ModelType} from '../../model/ModelType.model'; +import {ModelType} from '../model/ModelType.model'; @Component({ @@ -15,14 +15,14 @@ export class FunctionsComponent implements OnInit { this.designerStore.state$.subscribe(state => { console.log(state); - if (state.functions) { - this.viewedFunctions = state.functions; + if (state.serverFunctions) { + this.viewedFunctions = state.serverFunctions; } }); } ngOnInit() { - this.designerStore.getFuntions(); + this.designerStore.retrieveFuntions(); } } |