From ec00a19d79e3c484f3ee11ae37142338cd351cce Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 24 Jun 2024 22:35:29 +0000 Subject: [PATCH] Fixed missing gradient on normal users. --- src/mami.js/sidebar/pan-users.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mami.js/sidebar/pan-users.jsx b/src/mami.js/sidebar/pan-users.jsx index 88e096f..b42f5da 100644 --- a/src/mami.js/sidebar/pan-users.jsx +++ b/src/mami.js/sidebar/pan-users.jsx @@ -137,7 +137,7 @@ const MamiSidebarPanelUsersEntry = function(info) { updateAvatar(); const setColour = value => { - colour = value; + colour = value === 'inherit' ? '#fff' : value; html.style.backgroundColor = colour; nameElem.style.color = colour; };