diff options
author | JvD_Ericsson <jeff.van.dam@est.tech> | 2022-04-27 10:59:05 +0100 |
---|---|---|
committer | Michael Morris <michael.morris@est.tech> | 2022-04-28 09:29:47 +0000 |
commit | 4b7564241a1d9bf322764a905c3e80215a026b15 (patch) | |
tree | 9064dfc35a2b733bbc2a78bca82f2ec64b3a50d0 /catalog-ui/src/app | |
parent | 1fdab5a0f3c89c6e011ee45c787a14a6f785fa88 (diff) |
Fix Editing/Deletion of directives when not permitted
Fix Edit/Delete options for directives not being disabled
when service is checked in / certified
Issue-ID: SDC-3985
Signed-off-by: JvD_Ericsson <jeff.van.dam@est.tech>
Change-Id: Ic4c6820b8b276c6474acc6d6b46a75eb9ee886f2
Diffstat (limited to 'catalog-ui/src/app')
-rw-r--r-- | catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.html b/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.html index 3dfbf7a79a..70ccc4c060 100644 --- a/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.html +++ b/catalog-ui/src/app/ng2/components/logic/service-dependencies/service-dependencies.component.html @@ -5,9 +5,10 @@ <div *ngIf="isDependent && !isEditable" class="checkbox-label-mark-as-dependent"> <label class="i-sdc-form-label">Directive: {{getActualDirectiveValue()}}</label> <span class="sprite-new delete-btn delete-icon" - (click)="onRemoveDirective()" data-tests-id="delete-input-button"> + (click)="onRemoveDirective()" data-tests-id="delete-input-button" *ngIf="!readonly"> </span> - <svg-icon-label name="edit-file-o" size="small" class="directive-edit-icon" data-tests-id="directive-edit-icon" (click)="onEditDirectives()"> + <svg-icon-label name="edit-file-o" size="small" class="directive-edit-icon" data-tests-id="directive-edit-icon" + (click)="onEditDirectives()" *ngIf="!readonly"> </svg-icon-label> </div> |