fix tests

This commit is contained in:
Eugenio Romano 2016-08-06 01:55:01 +01:00
parent 8257a17a94
commit 94b63a258d

View File

@ -151,7 +151,7 @@ export class ViewerComponent {
* @returns {boolean} * @returns {boolean}
*/ */
private isImageMimeType() { private isImageMimeType() {
return this.mimeType !== null && this.mimeType.indexOf('image/') === 0; return this.mimeType && this.mimeType.indexOf('image/') === 0;
} }
/** /**