From 71b642a2ba95e932092abb83f7971a6bbed123bd Mon Sep 17 00:00:00 2001 From: Lauri Ojansivu Date: Wed, 22 Aug 2018 22:42:17 +0300 Subject: Fix lint errors. --- client/components/users/userAvatar.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components') diff --git a/client/components/users/userAvatar.js b/client/components/users/userAvatar.js index 5fb5d9df..4578d0b9 100644 --- a/client/components/users/userAvatar.js +++ b/client/components/users/userAvatar.js @@ -17,7 +17,7 @@ Template.userAvatar.helpers({ fixAvatarUrl(avatarUrl) { // Remove suburl from beginning of avatar file path, // so that avatar images don't get broken when root-url changes to different sub-url. - avatarUrl = '/' + avatarUrl.substring(avatarUrl.indexOf('/cfs/files/avatars/')+1); + avatarUrl = `/${ avatarUrl.substring(avatarUrl.indexOf('/cfs/files/avatars/')+1)}`; return avatarUrl; }, -- cgit v1.2.3-1-g7c22