Skip to content
Snippets Groups Projects
Commit b606eb3a authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #13271 TIME 0:30 fix delete pj

parent dceeb350
No related branches found
No related tags found
No related merge requests found
......@@ -22,9 +22,8 @@
<div class="layout" *ngIf="attachment.hideMainInfo" [@myAnimation] (click)="showAttachment(attachment)">
<button mat-raised-button color="primary"
(click)="$event.stopPropagation();showAttachment(attachment)">{{'lang.viewResource' | translate}}</button>
<button mat-raised-button color="warn" *ngIf="attachment.status!=='SIGN' && attachment.status!=='FRZ' && canModify"
(click)="$event.stopPropagation();deleteAttachment(attachment)"
[disabled]="!attachment.canDelete">{{'lang.deleteResource' | translate}}</button>
<button mat-raised-button color="warn" *ngIf="attachment.status!=='SIGN' && attachment.status!=='FRZ' && attachment.canDelete && (canModify || canModify === null)"
(click)="$event.stopPropagation();deleteAttachment(attachment)">{{'lang.deleteResource' | translate}}</button>
</div>
<div class="pjToolsContent">
<span *ngIf="attachment.relation > 1" color="primary" class="versionButton">{{'lang.version' | translate}} <b
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment