Yangman - delete_list_item button misses in operations form
[dlux.git] / modules / yangman-resources / src / main / resources / yangman / views / rightpanel / form / list-data-top.tpl.html
index 2cf52c9d697c58edaf79360ce6c68391a127aa74..6831c0552de52b4f521c2eaf1045329088a63a4b 100644 (file)
@@ -29,7 +29,8 @@
     <md-icon md-font-set="material-icons"
              class="pointer"
              ng-click="yangList.removeListElem(yangList.currentDisplayIndex + offset,false)"
-             ng-if="selectedDatastore.label === yangList.constants.DATA_STORE_CONFIG && !yangList.disableAddingListElement">
+             ng-if="(selectedDatastore.label === yangList.constants.DATA_STORE_CONFIG ||
+                    selectedDatastore.label === yangList.constants.DATA_STORE_OPERATIONS) && !yangList.disableAddingListElement">
         <md-tooltip md-direction="top">{{ 'YANGMAN_LIST_DELETE_ITEM' | translate }}</md-tooltip>
         remove_circle_outline
     </md-icon>