Skip to content

Fix missing icon due to naming#3

Open
infamy wants to merge 1 commit intotimmmmmmmmm:mainfrom
infamy:main
Open

Fix missing icon due to naming#3
infamy wants to merge 1 commit intotimmmmmmmmm:mainfrom
infamy:main

Conversation

@infamy
Copy link

@infamy infamy commented Jul 24, 2025

This renames the icon that was named with TA.svg, you have code that only caps the first letter, so Ta.svg is what it expects.

Line 84 of script.js

            if (category === 'heads') {
                actualFilename = `Screw_Head_-_${filename.split('-').map(word => 
                    word.charAt(0).toUpperCase() + word.slice(1)
                ).join('_')}`;
            }

This resolves the Ta head showing up as a broken image.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant