Close settings after deactivating
Fixes https://github.com/vector-im/riot-web/issues/9566
This commit is contained in:
parent
0950037ca3
commit
733401652b
3 changed files with 12 additions and 3 deletions
|
@ -83,7 +83,7 @@ export default class DeactivateAccountDialog extends React.Component {
|
|||
|
||||
Analytics.trackEvent('Account', 'Deactivate Account');
|
||||
Lifecycle.onLoggedOut();
|
||||
this.props.onFinished(false);
|
||||
this.props.onFinished(true);
|
||||
}
|
||||
|
||||
_onCancel() {
|
||||
|
|
|
@ -41,7 +41,7 @@ export default class UserSettingsDialog extends React.Component {
|
|||
tabs.push(new Tab(
|
||||
_td("General"),
|
||||
"mx_UserSettingsDialog_settingsIcon",
|
||||
<GeneralUserSettingsTab />,
|
||||
<GeneralUserSettingsTab closeSettingsFn={this.props.onFinished} />,
|
||||
));
|
||||
tabs.push(new Tab(
|
||||
_td("Flair"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue