From 28ed6c923c8839171fa25749a9f39680586b70d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 29 Mar 2023 18:52:30 -0400 Subject: [PATCH] update buildCategoryLabel no bg image in labels dont put a i tag if no icon --- public/src/modules/helpers.common.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/src/modules/helpers.common.js b/public/src/modules/helpers.common.js index 8945850228..10571404a1 100644 --- a/public/src/modules/helpers.common.js +++ b/public/src/modules/helpers.common.js @@ -98,8 +98,8 @@ module.exports = function (utils, Benchpress, relative_path) { return ''; } - return ` - ${category.icon ? `` : ''} + return ` + ${category.icon && category.icon !== 'fa-nbb-none' ? `` : ''} ${category.name} `; }