diff options
author | 2022-04-14 11:41:46 +0100 | |
---|---|---|
committer | 2022-04-26 12:07:50 +0000 | |
commit | d075d608549f07b4e79794aa6b6a5909204b6281 (patch) | |
tree | fcc691dbb2cc57bbd985c3d75bc80458e08e5d4d /catalog-ui/src/app/view-models/workspace/workspace-view.html | |
parent | 1ff5cd3de7ccc52adf0f4cbdf9c7ab511bd5c4a5 (diff) |
UI support for deleting services
Issue-ID: SDC-3962
Change-Id: Ib72a0c43b067cff31609bb47759497802a420511
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Diffstat (limited to 'catalog-ui/src/app/view-models/workspace/workspace-view.html')
-rw-r--r-- | catalog-ui/src/app/view-models/workspace/workspace-view.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/catalog-ui/src/app/view-models/workspace/workspace-view.html b/catalog-ui/src/app/view-models/workspace/workspace-view.html index 2d5b234fbf..21cebeb388 100644 --- a/catalog-ui/src/app/view-models/workspace/workspace-view.html +++ b/catalog-ui/src/app/view-models/workspace/workspace-view.html @@ -90,6 +90,13 @@ data-ng-class="{'disabled' : !isValidForm || isDisableMode() || isViewMode() || unsavedChanges}" ng-click="changeLifecycleState('deleteVersion')" class="sprite-new delete-btn" data-tests-id="delete_version" sdc-smart-tooltip="Delete" prevent-double-click>Delete</span> + <span ng-if="!isCreateMode() && component.isArchived" + ng-click="deleteArchivedComponent()" + class="sprite-new delete-btn" + data-tests-id="delete_archive_version" + sdc-smart-tooltip="Delete Service" + prevent-double-click>Delete</span> + <span data-ng-click = "archiveComponent()" ng-model-options="{ debounce: 300 }" data-ng-class="{'disabled' : !component.isLatestVersion()}" |