fix mat datetime picker regression

This commit is contained in:
Eugenio Romano
2018-08-09 13:35:56 +01:00
parent f5e264d0fc
commit 6b8bd4685c
8 changed files with 58 additions and 7 deletions

View File

@@ -348,7 +348,7 @@ export class ViewerComponent implements OnChanges, OnInit, OnDestroy {
this.mimeType = data.content.mimeType;
}
this.displayName = data.name;
this.displayName = this.getDisplayName(data.name);
this.urlFileContent = this.apiService.contentApi.getContentUrl(data.id);
this.urlFileContent = this.cacheBusterNumber ? this.urlFileContent + '&' + this.cacheBusterNumber : this.urlFileContent;