RED-8382 - Missing Restore/Hard Delete button for trashed dossier without owner
This commit is contained in:
parent
702aa2905a
commit
9a10dcb499
@ -40,14 +40,14 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<iqser-circle-button
|
<iqser-circle-button
|
||||||
(action)="restore.emit([item])"
|
(action)="restore.emit([item])"
|
||||||
*ngIf="item.canRestore && item.hasRestoreRights"
|
*ngIf="(item.canRestore && item.hasRestoreRights) || !item.ownerId"
|
||||||
[tooltip]="'trash.action.restore' | translate"
|
[tooltip]="'trash.action.restore' | translate"
|
||||||
icon="red:put-back"
|
icon="red:put-back"
|
||||||
></iqser-circle-button>
|
></iqser-circle-button>
|
||||||
|
|
||||||
<iqser-circle-button
|
<iqser-circle-button
|
||||||
(action)="hardDelete.emit([item])"
|
(action)="hardDelete.emit([item])"
|
||||||
*ngIf="item.hasHardDeleteRights"
|
*ngIf="item.hasHardDeleteRights || !item.ownerId"
|
||||||
[tooltip]="'trash.action.delete' | translate"
|
[tooltip]="'trash.action.delete' | translate"
|
||||||
icon="iqser:trash"
|
icon="iqser:trash"
|
||||||
></iqser-circle-button>
|
></iqser-circle-button>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user