Exclude badge items from missing icon check in catalog audit
Badge items use .gif icons, not .png icons, so they should not be flagged as missing icons in the catalog audit.
This commit is contained in:
@@ -344,6 +344,8 @@ export async function runCatalogAudit(
|
||||
const missingIconClassnames: string[] = [];
|
||||
for (let i = 0; i < items.length; i++) {
|
||||
const item = items[i];
|
||||
// Badge items use .gif icons, not .png icons.
|
||||
if (item.interaction_type === "badge") continue;
|
||||
if (!iconSet.has(`${item.item_name}_icon.png`)) {
|
||||
missingIconClassnames.push(item.item_name);
|
||||
issues.push({
|
||||
|
||||
Reference in New Issue
Block a user