aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/components/property/properties.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/components/property/properties.component.html')
-rw-r--r--sdc-workflow-designer-ui/src/app/components/property/properties.component.html11
1 files changed, 2 insertions, 9 deletions
diff --git a/sdc-workflow-designer-ui/src/app/components/property/properties.component.html b/sdc-workflow-designer-ui/src/app/components/property/properties.component.html
index 2870a4b1..19d0dce1 100644
--- a/sdc-workflow-designer-ui/src/app/components/property/properties.component.html
+++ b/sdc-workflow-designer-ui/src/app/components/property/properties.component.html
@@ -14,19 +14,12 @@
<div class="wm-properties-wrapper" *ngIf="show">
<div class="form-group row">
- <div *ngIf="!titleEditing" class="view col-md-10" (dblclick)="titleEditing = !titleEditing">
- <h4>{{node.name}}</h4>
- </div>
- <div class="col-md-10" *ngIf="titleEditing">
- <input class="form-control" (blur)="nodeNameChanged()" type="text" [(ngModel)]="node.name"/>
- </div>
-
+ <b4t-editable-property class="col-md-10" [(name)]="node.name"></b4t-editable-property>
<div class="col-md-2">
- <button (click)="deleteNode()" type="button" class="btn btn-danger">
+ <button (click)="deleteNode()" type="button" class="btn white">
<i class="fa fa-trash" style="margin-right: 5px;"></i>
</button>
</div>
-
</div>
<hr>