Fix inventory icons and material badges display

- Add support for boja_hex field from database
- Fix vakum/otvoreno detection to properly show inventory badges
- Update all filaments in database with correct hex color codes
- Remove duplicate text in material modifier badges
- Fix storage condition detection for Da/Ne values
- Exclude .claude directory from security checks
This commit is contained in:
DaX
2025-06-20 16:10:29 +02:00
parent 99a41f43fb
commit 33a40072b7
4 changed files with 6 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ export const MaterialBadge: React.FC<MaterialBadgeProps> = ({ base, modifier, cl
</span>
{modifier && (
<span className="inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-200">
{getModifierIcon() && <span className="font-bold">{getModifierIcon()}</span>} {modifier}
{modifier}
</span>
)}
</div>