mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-3897] Upload Dialog - upload file error tooltip (#4148)
This commit is contained in:
committed by
Eugenio Romano
parent
baf9204a04
commit
5b168af134
@@ -65,7 +65,9 @@
|
||||
<div
|
||||
*ngIf="file.status === FileUploadStatus.Error"
|
||||
class="adf-file-uploading-row__block adf-file-uploading-row__status--error">
|
||||
<mat-icon mat-list-icon>
|
||||
<mat-icon mat-list-icon
|
||||
[attr.aria-label]="'ADF_FILE_UPLOAD.ARIA-LABEL.ERROR' | translate"
|
||||
[matTooltip]="file.errorCode | adfFileUploadError">
|
||||
report_problem
|
||||
</mat-icon>
|
||||
</div>
|
||||
|
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
|
||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
import { FileModel } from '@alfresco/adf-core';
|
||||
import { FileModel, CoreModule } from '@alfresco/adf-core';
|
||||
import { UploadModule } from '../upload.module';
|
||||
import { FileUploadingListRowComponent } from './file-uploading-list-row.component';
|
||||
|
||||
@@ -28,6 +28,7 @@ describe('FileUploadingListRowComponent', () => {
|
||||
beforeEach(() => {
|
||||
TestBed.configureTestingModule({
|
||||
imports: [
|
||||
CoreModule.forRoot(),
|
||||
UploadModule
|
||||
]
|
||||
}).compileComponents();
|
||||
|
Reference in New Issue
Block a user