From 6c9a1d65011e6faab1d1d0c18d7d2e489e6cb808 Mon Sep 17 00:00:00 2001 From: Helma van der Linden Date: Sun, 18 Feb 2024 20:20:23 +0100 Subject: [PATCH] Fix: fix error in the parameter now that a different object is passed --- src/web/passwordview.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/passwordview.mjs b/src/web/passwordview.mjs index f99ed29..a98bc72 100644 --- a/src/web/passwordview.mjs +++ b/src/web/passwordview.mjs @@ -203,8 +203,8 @@ class PasswordView { __renderPasswordStrength(passwordStrength) { // we assume that the strength indicator is already calculated - const statsText = this.__getStatsDisplay(stats.password.passwordStrength); - const statsClass = this.__getStatsClass([stats.password.passwordStrength]); + const statsText = this.__getStatsDisplay(passwordStrength); + const statsClass = this.__getStatsClass([passwordStrength]); // render strength this.#passwordStrength.text(statsText);