fix: #13894, buildCategoryLabel helper checks fa-nbb-none

This commit is contained in:
Barış Soner Uşaklı
2026-02-12 18:10:19 -05:00
parent e16c56777d
commit 4b9b3648c1
2 changed files with 4 additions and 1 deletions

View File

@@ -303,7 +303,7 @@ Mocks.category = async (actors) => {
slug: `${preferredUsername}@${hostname}`,
description: summary,
descriptionParsed: posts.sanitize(activitypub.helpers.renderEmoji(summary || '', tag)),
icon: backgroundImage ? 'fa-none' : 'fa-comments',
icon: backgroundImage ? 'fa-nbb-none' : 'fa-comments',
color: '#fff',
bgColor,
backgroundImage,

View File

@@ -131,6 +131,9 @@ function modifyCategory(category, fields) {
if (hasField('icon')) {
category.icon = category.icon || 'hidden';
if (category.icon === 'fa-none') {
category.icon = 'fa-nbb-none';
}
}
if (hasField('post_count')) {