mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-06-19 19:28:08 +02:00
Fix find method called on undefined object
This commit is contained in:
parent
df7245403b
commit
83d1394afa
@ -196,7 +196,7 @@
|
||||
copyToClipboard(otp.password)
|
||||
|
||||
if (otp.otp_type == 'hotp') {
|
||||
let hotpToIncrement = accounts.value.find((acc) => acc.id == account.id)
|
||||
let hotpToIncrement = twofaccounts.items.find((acc) => acc.id == account.id)
|
||||
|
||||
// TODO : à koi ça sert ?
|
||||
if (hotpToIncrement != undefined) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user