You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2020/06/14 13:14:44 UTC
[incubator-streampipes] 02/03: [STREAMPIPES-145] Fix bug in cache
handling of pipeline elements
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch STREAMPIPES-145
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
commit b9db613cec04077b2b9b5c43044721a2e0e7575c
Author: Dominik Riemer <ri...@fzi.de>
AuthorDate: Sun Jun 14 13:59:24 2020 +0200
[STREAMPIPES-145] Fix bug in cache handling of pipeline elements
---
.../pipeline-element-options/pipeline-element-options.component.ts | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/ui/src/app/editor-v2/components/pipeline-element-options/pipeline-element-options.component.ts b/ui/src/app/editor-v2/components/pipeline-element-options/pipeline-element-options.component.ts
index 21c32e9..d1aa338 100644
--- a/ui/src/app/editor-v2/components/pipeline-element-options/pipeline-element-options.component.ts
+++ b/ui/src/app/editor-v2/components/pipeline-element-options/pipeline-element-options.component.ts
@@ -101,8 +101,7 @@ export class PipelineElementOptionsComponent implements OnInit{
this.initRecs(this.pipelineElement.payload.dom);
}
});
- let pipelineElementType = PipelineElementTypeUtils.fromType(this.pipelineElement.payload);
- this.pipelineElementCssType = PipelineElementTypeUtils.toCssShortHand(pipelineElementType);
+ this.pipelineElementCssType = this.pipelineElement.type;
if (this.pipelineElement.type === 'stream') {
this.initRecs(this.pipelineElement.payload.dom);