mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Merge pull request #774 from Alfresco/dev-mvitale-757-bug
Fix bug undefined filname
This commit is contained in:
commit
54debc47a6
@ -43,6 +43,8 @@ export class UploadWidget extends WidgetComponent implements OnInit {
|
||||
this.field.value &&
|
||||
this.field.value.length > 0) {
|
||||
this.hasFile = true;
|
||||
let file = this.field.value[0];
|
||||
this.fileName = file.name;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user