mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-10 01:29:49 +02:00
Fix for hideUnusedParticipants
This commit is contained in:
@@ -461,7 +461,7 @@ export const drawActors = function (
|
||||
newActors.add(message.from);
|
||||
newActors.add(message.to);
|
||||
});
|
||||
actorKeys = actorKeys.filter((actorKey) => newActors.includes(actorKey));
|
||||
actorKeys = actorKeys.filter((actorKey) => newActors.has(actorKey));
|
||||
}
|
||||
|
||||
// Draw the actors
|
||||
|
Reference in New Issue
Block a user