Merge pull request #2630 from matrix-org/dbkr/fix_register_email_link
Fix registration after clicking email link
This commit is contained in:
commit
0ad9d71935
2 changed files with 31 additions and 7 deletions
|
@ -90,7 +90,11 @@ export default class ServerTypeSelector extends React.PureComponent {
|
|||
selected: type,
|
||||
};
|
||||
if (onChange) {
|
||||
onChange(type);
|
||||
// FIXME: Supply a second 'initial' param here to flag that this is
|
||||
// initialising the value rather than from user interaction
|
||||
// (which sometimes we'll want to ignore). Must be a better way
|
||||
// to do this.
|
||||
onChange(type, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue