1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

Fix !== null checks

This commit is contained in:
Kyle Spearrin
2018-08-30 21:47:49 -04:00
parent e5feb3f465
commit f6850072ea
3 changed files with 5 additions and 5 deletions

View File

@@ -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 });
}