mirror of
https://gitlab.com/comunic/comunicconsole
synced 2024-11-23 13:59:23 +00:00
Fix refresh issue
This commit is contained in:
parent
cc26bab72e
commit
938b46dedf
@ -241,6 +241,8 @@ export class KeySettingsSection extends React.Component<
|
||||
await AccountHelper.RegisterKey(name, credential);
|
||||
|
||||
snackbar("Successfully enrolled a new key!");
|
||||
|
||||
this.setState({ counter: this.state.counter + 1 });
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
matAlert("Failed to register a new key!");
|
||||
|
Loading…
Reference in New Issue
Block a user