Upgrade ng2-alfresco-upload, code fixes

This commit is contained in:
Denys Vuika
2016-09-21 14:12:42 +01:00
parent 90646ce910
commit 6104c5d669
15 changed files with 194 additions and 63 deletions

View File

@@ -32,6 +32,9 @@ export class MediaPlayerComponent {
@Input()
mimeType: string;
@Input()
nameFile: string;
ngOnChanges(changes) {
if (!this.urlFile) {
throw new Error('Attribute urlFile is required');