mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 21:17:18 -04:00
Fix lint errors.
This commit is contained in:
parent
f170c116bb
commit
71b642a2ba
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue