diff --git a/src/components/resolvedicon.jsx b/src/components/resolvedicon.jsx index a37997d3..fa9fa68d 100644 --- a/src/components/resolvedicon.jsx +++ b/src/components/resolvedicon.jsx @@ -57,7 +57,27 @@ export default function ResolvedIcon({ icon, width = 32, height = 32, alt = "log ); } + // fallback to dashboard-icons + if (icon.endsWith(".svg")) { + const iconName = icon.replace(".svg", ""); + return ( + {alt} + ); + } + const iconName = icon.replace(".png", ""); return (