diff options
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 | 28 |
1 files changed, 0 insertions, 28 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 deleted file mode 100644 index e1e980ed9..000000000 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/functions/functions.component.ts +++ /dev/null @@ -1,28 +0,0 @@ -import {Component, OnInit} from '@angular/core'; -import {DesignerStore} from '../designer.store'; -import {ModelType} from '../model/ModelType.model'; - - -@Component({ - selector: 'app-functions', - templateUrl: './functions.component.html', - styleUrls: ['./functions.component.css'] -}) -export class FunctionsComponent implements OnInit { - viewedFunctions: ModelType[] = []; - - constructor(private designerStore: DesignerStore) { - - this.designerStore.state$.subscribe(state => { - console.log(state); - if (state.serverFunctions) { - this.viewedFunctions = state.serverFunctions; - } - }); - } - - ngOnInit() { - this.designerStore.retrieveFuntions(); - } - -} |