mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-4371] Versioning - revert upload version on delete (#4572)
* revert upload version on delete * methods return type
This commit is contained in:
committed by
Denys Vuika
parent
1f6e868464
commit
8975d4b6a6
@@ -1,16 +1,22 @@
|
||||
<div class="adf-file-uploading-row">
|
||||
<mat-icon
|
||||
mat-list-icon
|
||||
class="adf-file-uploading-row__type">
|
||||
<mat-icon *ngIf="mimeType === 'default'" mat-list-icon class="adf-file-uploading-row__type">
|
||||
insert_drive_file
|
||||
</mat-icon>
|
||||
|
||||
<adf-icon *ngIf="mimeType !== 'default'" value="adf:{{ mimeType }}"></adf-icon>
|
||||
|
||||
<span
|
||||
class="adf-file-uploading-row__name"
|
||||
title="{{ file.name }}">
|
||||
{{ file.name }}
|
||||
</span>
|
||||
|
||||
<span *ngIf="isUploadVersion()" class="adf-file-uploading-row__version">
|
||||
<mat-chip aria-label="file version" color="primary" disabled>{{
|
||||
versionNumber
|
||||
}}</mat-chip>
|
||||
</span>
|
||||
|
||||
<div
|
||||
*ngIf="file.status === FileUploadStatus.Progress || file.status === FileUploadStatus.Starting"
|
||||
(click)="onCancel(file)"
|
||||
|
Reference in New Issue
Block a user