Fix paranthesis in ActionsButton

This commit is contained in:
Maximilian Harz 2025-02-10 22:51:13 +01:00
parent 0395c6393b
commit f71929b4d8

View File

@ -79,7 +79,7 @@ export function ActionButton({
triggerAddButton() triggerAddButton()
}} }}
style={{ style={{
backgroundColor: `${(item.color ?? (getItemTags(item) && getItemTags(item)[0] && getItemTags(item)[0].color)) ? getItemTags(item)[0].color : item.layer?.markerDefaultColor}`, backgroundColor: `${item.color ?? (getItemTags(item) && getItemTags(item)[0] && getItemTags(item)[0].color ? getItemTags(item)[0].color : item.layer?.markerDefaultColor)}`,
color: '#fff', color: '#fff',
}} }}
> >