Pull sessions after revoking one (#6436)

This commit is contained in:
Joram Wilander
2017-05-19 09:33:29 -04:00
committed by Harrison Healey
parent 577ed27f1b
commit 2a146766f0

View File

@@ -52,7 +52,9 @@ export default class ActivityLogModal extends React.Component {
setTimeout(() => {
modalContent.removeClass('animation--highlight');
}, 1500);
this.props.actions.revokeSession(UserStore.getCurrentId(), altId);
this.props.actions.revokeSession(UserStore.getCurrentId(), altId).then(() => {
this.props.actions.getSessions(UserStore.getCurrentId());
});
}
onShow() {