From 47c888e350c8adee5405d15e5a7cde2511ae9322 Mon Sep 17 00:00:00 2001 From: Live Date: Thu, 27 Oct 2022 12:22:34 +0000 Subject: [PATCH] Update LayoutBadgeImageView.tsx --- src/common/layout/LayoutBadgeImageView.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/layout/LayoutBadgeImageView.tsx b/src/common/layout/LayoutBadgeImageView.tsx index 971c0f2f..a469429b 100644 --- a/src/common/layout/LayoutBadgeImageView.tsx +++ b/src/common/layout/LayoutBadgeImageView.tsx @@ -37,7 +37,7 @@ export const LayoutBadgeImageView: FC = props => if(imageElement) { - newStyle.backgroundImage = (isGroup) ? imageElement.src : `url(${ GetConfiguration('badge.asset.url').replace('%badgename%', badgeCode.toString()) })`; + newStyle.backgroundImage = `url(${ (isGroup) ? imageElement.src : GetConfiguration('badge.asset.url').replace('%badgename%', badgeCode.toString())})`; newStyle.width = imageElement.width; newStyle.height = imageElement.height;