Skip to content

Commit

Permalink
[frontend] refresh sessions list after kill
Browse files Browse the repository at this point in the history
  • Loading branch information
SouadHadjiat committed Jan 10, 2025
1 parent 0970605 commit 3c33e1f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class SessionsListComponent extends Component {
onCompleted: () => {
this.setState({ killing: false });
this.handleCloseKillSession();
this.props.relay.refetch(); // refetch sessions after killing to refresh the list
},
onError: () => {
this.setState({ killing: false });
Expand Down

0 comments on commit 3c33e1f

Please sign in to comment.