diff options
author | Julius Härtl <jus@bitgrid.net> | 2019-10-24 14:40:04 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-10-24 14:40:04 +0300 |
commit | 77feb859768120320fcc09df7626eb679eef6a42 (patch) | |
tree | 055d501f55fccb7d1edbf99b51eb85902abca749 /src | |
parent | 9cf3c3fdee9a672a17b219c2a7390c993e73947a (diff) |
Properly convert color the 2nd
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/view/FilesAppIntegration.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/view/FilesAppIntegration.js b/src/view/FilesAppIntegration.js index 1beab7e6..f6cba7d7 100644 --- a/src/view/FilesAppIntegration.js +++ b/src/view/FilesAppIntegration.js @@ -275,8 +275,9 @@ export default { const userId = (view.UserId === '') ? view.UserName : view.UserId var avatarContainer = $('<div class="richdocuments-avatar"><div class="avatar" title="' + view.UserName + '" data-user="' + userId + '"></div></div>') var avatar = avatarContainer.find('.avatar') + avatar.css({ - 'border-color': Number(view.Color).toString(16), + 'border-color': '#' + ('000000' + Number(view.Color).toString(16)).substr(-6), 'border-width': '2px', 'border-style': 'solid' }) |