summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-08-22 22:42:17 +0300
committerLauri Ojansivu <x@xet7.org>2018-08-22 22:42:17 +0300
commit71b642a2ba95e932092abb83f7971a6bbed123bd (patch)
tree071d6cdf460eaff7e660724b27d1619b2b1ce65d /client/components
parentf170c116bba3abceef8741b2b74d8f4e4de99699 (diff)
downloadwekan-71b642a2ba95e932092abb83f7971a6bbed123bd.tar.gz
wekan-71b642a2ba95e932092abb83f7971a6bbed123bd.tar.bz2
wekan-71b642a2ba95e932092abb83f7971a6bbed123bd.zip
Fix lint errors.
Diffstat (limited to 'client/components')
-rw-r--r--client/components/users/userAvatar.js2
1 files changed, 1 insertions, 1 deletions
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;
},