mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 13:40:06 +00:00
fix: flipped boolean check
This commit is contained in:
@@ -78,7 +78,7 @@ export class KeyConnectorService implements KeyConnectorServiceAbstraction {
|
||||
async setUsesKeyConnector(usesKeyConnector: boolean, userId: UserId) {
|
||||
await this.stateProvider.getUser(userId, USES_KEY_CONNECTOR).update(() => usesKeyConnector, {
|
||||
shouldUpdate: (previous) => {
|
||||
return previous === usesKeyConnector;
|
||||
return previous !== usesKeyConnector;
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user