Skip to content

Commit

Permalink
fix(ui): clone the ListWatch callback array in WorkflowsList (#12562
Browse files Browse the repository at this point in the history
)

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Isitha Subasinghe <isubasinghe@student.unimelb.edu.au>
  • Loading branch information
agilgur5 authored and isubasinghe committed Feb 28, 2024
1 parent 2a21d14 commit 56a5911
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export function WorkflowsList({match, location, history}: RouteComponentProps<an
clearSelectedWorkflows();
},
() => setError(null),
newWorkflows => setWorkflows(newWorkflows),
newWorkflows => setWorkflows([...newWorkflows]),
err => setError(err),
sortByYouth
);
Expand Down

0 comments on commit 56a5911

Please sign in to comment.