From 77feb859768120320fcc09df7626eb679eef6a42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Thu, 24 Oct 2019 13:40:04 +0200 Subject: Properly convert color the 2nd MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/view/FilesAppIntegration.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 = $('
') 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' }) -- cgit v1.2.3