Fix Bug 2291: No option to update VIM Account in NG-UI
- NG-UI support for VIM Update
- Added edit button in VIM Account Action
- Patched the value in edit form using vimaccounts get api
- schema_type support is not given in patch method
- Disabled vim url and type in vim update action
Change-Id: I7c90e55fc4223d6c41ce12333ee23536358cab43
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/app/utilities/vim-accounts-action/VimAccountsActionComponent.html b/src/app/utilities/vim-accounts-action/VimAccountsActionComponent.html
index 51c57b0..1286116 100644
--- a/src/app/utilities/vim-accounts-action/VimAccountsActionComponent.html
+++ b/src/app/utilities/vim-accounts-action/VimAccountsActionComponent.html
@@ -40,6 +40,9 @@
<ng-template #graphContent>
<app-resources-overview [resourcesData]="value"></app-resources-overview>
</ng-template>
+ <button type="button" class="btn btn-primary" (click)="editVIM()" placement="top" container="body" ngbTooltip="{{'EDIT' | translate}}">
+ <i class="fa fa-edit icons"></i>
+ </button>
<button type="button" class="btn btn-primary" placement="left" container="body"
[ngbPopover]="graphContent" triggers="manual" #chart="ngbPopover"
(click)="chart.open()" [autoClose]="'outside'" [popoverTitle]="graphTitle" popoverClass="resources-chart-popover"