mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 14:53:33 +00:00
Fix !== null checks
This commit is contained in:
@@ -153,7 +153,7 @@ export default class RuntimeBackground {
|
||||
tab: msg.tab,
|
||||
details: msg.details,
|
||||
}], msg.sender === 'autofill_cmd');
|
||||
if (totpCode !== null) {
|
||||
if (totpCode != null) {
|
||||
this.platformUtilsService.copyToClipboard(totpCode, { window: window });
|
||||
}
|
||||
break;
|
||||
@@ -181,7 +181,7 @@ export default class RuntimeBackground {
|
||||
pageDetails: this.pageDetailsToAutoFill,
|
||||
});
|
||||
|
||||
if (totpCode !== null) {
|
||||
if (totpCode != null) {
|
||||
this.platformUtilsService.copyToClipboard(totpCode, { window: window });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user