fix: group badge on group details page

This commit is contained in:
Barış Soner Uşaklı
2026-03-11 16:52:25 -04:00
parent e6ac9aba17
commit 52e8ede8c3
2 changed files with 5 additions and 3 deletions

View File

@@ -107,10 +107,10 @@
"nodebb-plugin-spam-be-gone": "2.3.2",
"nodebb-plugin-web-push": "0.7.6",
"nodebb-rewards-essentials": "1.0.2",
"nodebb-theme-harmony": "2.2.51",
"nodebb-theme-harmony": "2.2.52",
"nodebb-theme-lavender": "7.1.21",
"nodebb-theme-peace": "2.2.57",
"nodebb-theme-persona": "14.2.27",
"nodebb-theme-persona": "14.2.28",
"nodebb-widget-essentials": "7.0.43",
"nodemailer": "8.0.1",
"nprogress": "0.2.0",

View File

@@ -209,7 +209,9 @@ define('forum/groups/details', [
// Add icon selection interface
iconBtn.on('click', function () {
iconSelect.init(previewIcon, function () {
iconValueEl.val(previewIcon.val());
const icon = previewIcon.val();
previewIcon.toggleClass('hidden', !icon || icon === 'fa-nbb-none');
iconValueEl.val(icon);
});
});