Fix 'upload' code style issues (tslint)

This commit is contained in:
Denys Vuika
2016-06-16 13:37:23 +01:00
parent 326e25d99e
commit 7f93baf59c
5 changed files with 8 additions and 11 deletions

View File

@@ -226,7 +226,7 @@ export class UploadDragAreaComponent {
* @returns {string}
*/
private getErrorMessage(response: any): string {
if(response.body.error.statusCode === ERROR_FOLDER_ALREADY_EXIST ) {
if (response.body.error.statusCode === ERROR_FOLDER_ALREADY_EXIST ) {
let errorMessage: any;
errorMessage = this.translate.get('FILE_UPLOAD.MESSAGES.FOLDER_ALREADY_EXIST');
return errorMessage.value;