You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ze...@apache.org on 2020/08/27 20:43:28 UTC

[incubator-streampipes] branch dev updated: Set @class in cloner for options in the UI

This is an automated email from the ASF dual-hosted git repository.

zehnder pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new c3f9afa  Set @class in cloner for options in the UI
c3f9afa is described below

commit c3f9afa93fbb2ecdb08b907a5cb5fa39df9a61c3
Author: Philipp Zehnder <ze...@fzi.de>
AuthorDate: Thu Aug 27 22:42:37 2020 +0200

    Set @class in cloner for options in the UI
---
 ui/src/app/core-ui/static-properties/static-property-util.service.ts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/ui/src/app/core-ui/static-properties/static-property-util.service.ts b/ui/src/app/core-ui/static-properties/static-property-util.service.ts
index b56b5c4..0a966da 100644
--- a/ui/src/app/core-ui/static-properties/static-property-util.service.ts
+++ b/ui/src/app/core-ui/static-properties/static-property-util.service.ts
@@ -144,6 +144,7 @@ export class StaticPropertyUtilService{
 
     private cloneOption(val: Option) {
         let clone = new Option();
+        clone['@class']  = 'org.apache.streampipes.model.staticproperty.Option';
         clone.elementId = 'urn:streampipes.org:spi::' + this.generateID(6);
         //clone.elementName = val.elementName;
         clone.name = val.name;