diff --git a/resources/js/views/twofaccounts/Accounts.vue b/resources/js/views/twofaccounts/Accounts.vue index f145e07f..e940fcb1 100644 --- a/resources/js/views/twofaccounts/Accounts.vue +++ b/resources/js/views/twofaccounts/Accounts.vue @@ -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) {