Skip to content

Commit

Permalink
Fixed bug with updating local lineage state (#334)
Browse files Browse the repository at this point in the history
  • Loading branch information
Leshe4ka authored Dec 30, 2021
1 parent b1a97e6 commit 9f95aef
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,12 @@ const reducer = (
state = initialState,
action: Action
): DataEntityLineageState => {
localState.allNodes = [];
localState.allGroups = [];
localState.allEdges = [];
localState.excludedIds = new Set();
localState.groupIds = new Set();
localState.nodeIds = new Set();
switch (action.type) {
case getType(actions.fetchDataEntityDownstreamLineageAction.success):
return updateDataEntityLineage(
Expand Down

0 comments on commit 9f95aef

Please sign in to comment.