Missed logic

This commit is contained in:
Sean Edmunds
2025-07-22 14:27:04 -05:00
parent b948abad48
commit e0adad34ba

View File

@@ -586,7 +586,13 @@ export function ThemeModal({
<Text>→</Text>
<Image
w={'40%'}
src={`../../api/backgroundImages/thumbs/${designerTheme[key as keyof Theme] as string}`}
src={
(
designerTheme[key as keyof Theme] as string
).toLocaleLowerCase() === 'none'
? 'https://placehold.co/540x360?text=None'
: `../../api/backgroundImages/thumbs/${designerTheme[key as keyof Theme] as string}`
}
/>
</Group>
)}