mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 17:26:26 +01:00
🐛 Fix newVersionAvailable indicator
This commit is contained in:
@@ -129,7 +129,7 @@ const CurrentUserAvatar = forwardRef<HTMLDivElement, CurrentUserAvatarProps>(
|
|||||||
const { primaryColor } = useMantineTheme();
|
const { primaryColor } = useMantineTheme();
|
||||||
if (!user) return <Avatar ref={ref} {...others} />;
|
if (!user) return <Avatar ref={ref} {...others} />;
|
||||||
|
|
||||||
if (!newVersionAvailable)
|
if (newVersionAvailable)
|
||||||
return (
|
return (
|
||||||
<Indicator withBorder offset={2} color="blue" processing size={15}>
|
<Indicator withBorder offset={2} color="blue" processing size={15}>
|
||||||
<Avatar ref={ref} color={primaryColor} {...others}>
|
<Avatar ref={ref} color={primaryColor} {...others}>
|
||||||
|
|||||||
Reference in New Issue
Block a user