Skip to content

Commit ee64362

Browse files
committed
fix: UI to delete doesn't loop anymore
1 parent db9a783 commit ee64362

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

web/html/src/components/hub/TokenTable.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ export class TokenTable extends React.Component<Props, State> {
196196
Network.del(`/rhn/manager/api/admin/hub/access-tokens/${row.id}`)
197197
.catch((xhr) => Network.showResponseErrorToastr(xhr))
198198
.then((response) => {
199+
this.setState({ selectedRow: undefined });
199200
this.refresh();
200201
showInfoToastr("Access token successfully deleted");
201202
});

0 commit comments

Comments
 (0)