diff options
author | Swapnali Shadanan Pode <sp00501638@techmahindra.com> | 2019-03-20 13:34:45 +0530 |
---|---|---|
committer | Swapnali Shadanan Pode <sp00501638@techmahindra.com> | 2019-03-20 13:34:45 +0530 |
commit | 07f6cafc47a651b49b1dfa4c99f7570aef81cebb (patch) | |
tree | 5efb28c440a14b948495a870274b27dc0ed4e710 /cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html | |
parent | 02168b46d5614325afc1c5c6165b0bda3279e251 (diff) |
sources template changes
json editor added in panels
Change-Id: I99430bc4bcc3be2e729b551a77a2677dcd74d46e
Issue-ID: CCSDK-804
Signed-off-by: sp00501638 <sp00501638@techmahindra.com>
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html index 123594a50..903c6d319 100644 --- a/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html +++ b/cds-ui/client/src/app/feature-modules/resource-definition/resource-edit/sources-template/sources-template.component.html @@ -21,17 +21,17 @@ <div class="sources-container"> <div cdkDropList - [cdkDropListData]="todo" + [cdkDropListData]="sourcesOptions" class="sources-list" (cdkDropListDropped)="drop($event)"> - <div class="sources-box" *ngFor="let item of todo" cdkDrag> + <div class="sources-box" *ngFor="let item of sourcesOptions" cdkDrag> <mat-expansion-panel class="expansion-panel"> <mat-expansion-panel-header> <mat-panel-title> - {{item.type}} + {{item}} </mat-panel-title> </mat-expansion-panel-header> - {{item}} + <json-editor [options]="options" [data]="selected(item)" on-change="onChange()"></json-editor> </mat-expansion-panel> </div> </div> @@ -47,10 +47,10 @@ <br><br> <div cdkDropList - [cdkDropListData]="sourcesOptions" + [cdkDropListData]="option" class="options-list" (cdkDropListDropped)="drop($event)"> - <div class="options-box" *ngFor="let item of sourcesOptions | search : searchText" cdkDrag>{{item.type}}</div> + <div class="options-box" *ngFor="let item of option | search :searchText" cdkDrag>{{item}}</div> </div> </div> </div>
\ No newline at end of file |