fix blob input in text viewer (#1942)

This commit is contained in:
Eugenio Romano
2017-06-07 16:26:33 +01:00
committed by Eugenio Romano
parent d3eee53ee4
commit c6bfe892ee
6 changed files with 60 additions and 22 deletions

View File

@@ -239,7 +239,7 @@ export class ViewerComponent {
* @returns {boolean}
*/
private isText(): boolean {
return this.extension === 'txt' || this.mimeType === 'text/txt';
return this.extension === 'txt' || this.mimeType === 'text/txt' || this.mimeType === 'text/plain';
}
/**