mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-05 22:38:48 +00:00
fix :: event manager closes on select of event (#6136)
This commit is contained in:
parent
142d54bc50
commit
fe2a51c722
1 changed files with 1 additions and 1 deletions
|
|
@ -741,7 +741,7 @@ export const EventManager = ({
|
|||
const actionMeta = ActionTypes.find((action) => action.id === event.actionId);
|
||||
const rowClassName = `card-body p-0 ${focusedEventIndex === index ? ' bg-azure-lt' : ''}`;
|
||||
return (
|
||||
<Draggable key={`${event.eventId}-${index}`} draggableId={`${event.eventId}-${index}`} index={index}>
|
||||
<Draggable key={index} draggableId={`${event.eventId}-${index}`} index={index}>
|
||||
{renderDraggable((provided, snapshot) => {
|
||||
if (snapshot.isDragging && focusedEventIndex !== null) {
|
||||
setFocusedEventIndex(null);
|
||||
|
|
|
|||
Loading…
Reference in a new issue