0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-08-06 06:47:38 +00:00

caret menu indicators work, point correct direction

This commit is contained in:
Gazook89
2026-04-23 10:54:27 -05:00
parent 3b6c7acdbf
commit 4f953da0fe
+1 -2
View File
@@ -40,7 +40,7 @@ const Dropdown = ({ groupName, className = null, icon, children, color = null, i
const trigger = (groupName)=>{
if(!customTrigger){
return <>
<span className='menu-name'>{groupName}</span>
<span className='menu-name'>{groupName}</span><i className={`caret fas fa-caret-${isSubMenu ? 'right' : 'down'}`}></i>
</>;
} else {
return customTrigger;
@@ -54,7 +54,6 @@ const Dropdown = ({ groupName, className = null, icon, children, color = null, i
className={['menu-item', color, className].join(' ')}
popoverTarget={menuId}
icon={icon}
ismenu={{ caretDirection: isSubMenu ? 'right' : 'down' }}
aria-haspopup='menu'
role='menuitem'
>