revert changes from SidebarInspector.jsx

This commit is contained in:
Pratik Agrawal 2024-11-26 16:28:21 +05:30 committed by GitHub
parent 59c30e9cbd
commit 60107bbfcd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,9 +110,8 @@ export const LeftSidebarInspector = ({
if (!_.isEmpty(component) && component.name === key) { if (!_.isEmpty(component) && component.name === key) {
return { return {
iconName: key, iconName: key,
iconPath: `assets/images/icons/widgets/${ iconPath: `assets/images/icons/widgets/${component.component.toLowerCase() === 'radiobutton' ? 'radio-button' : component.component.toLowerCase()
component.component.toLowerCase() === 'radiobutton' ? 'radio-button' : component.component.toLowerCase() }.svg`,
}.svg`,
className: 'component-icon', className: 'component-icon',
}; };
} }