dmp overview edit button fix

This commit is contained in:
amentis 2024-05-29 17:53:37 +03:00
parent 6fcf4ccfe1
commit a088e7b2dc
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
</div>
<div class="row" *ngIf="(isDraftDmp(dmp) && !lockStatus) || canCloneDmp() || (canDeleteDmp() && !isLocked)">
<!-- <button *ngIf="isDraftDmp(dmp) && isDmpOwner(dmp) && !isLocked" (click)="editClicked(dmp)" mat-mini-fab class="mr-3 d-flex justify-content-center align-items-center" matTooltip="{{'DMP-OVERVIEW.ACTIONS.EDIT' | translate}}" matTooltipPosition="above"> -->
<div *ngIf="isDraftDmp(dmp) && !lockStatus; else previewButton" class="col-auto pr-0">
<div *ngIf="canEditDmp(dmp) && !lockStatus; else previewButton" class="col-auto pr-0">
<button (click)="editClicked()" mat-mini-fab class="d-flex justify-content-center align-items-center" matTooltip="{{'DMP-OVERVIEW.ACTIONS.EDIT' | translate}}" matTooltipPosition="above">
<mat-icon class="mat-mini-fab-icon">create</mat-icon>
</button>