bullet_train-fields 1.0.12 → 1.0.13
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 22907252525d03b4c9538acf70ca2667d13d2dd56d26f32a757343e6849282ee
|
4
|
+
data.tar.gz: 1de302b7dcca8e36cb77d748a7ab9dddbb743aed6a983545fca7a61310002d63
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 474bf684a22ba77f9cc7bc635292f258f376673b4a2f85671c60175c3ec603c0387dc5fb5c9aea4558c50b225fc4f7830a5d3d570d12c5aee1beed7444fd0117
|
7
|
+
data.tar.gz: 1813ba9759677f78fbb516c691ec48888965d4762b84df5c5f6a2820abfcc119787dde8f9a8270416de476b7c16f2d25a8ce0331fb5b8927cdfc0a627e880141
|
@@ -7,7 +7,7 @@ export default class extends Controller {
|
|
7
7
|
estimateStrength(e) {
|
8
8
|
const result = zxcvbn(e.target.value);
|
9
9
|
|
10
|
-
if (result.feedback) {
|
10
|
+
if (result.feedback && result.feedback.length > 0) {
|
11
11
|
this.strengthIndicatorTarget.innerText = `${result.feedback.warning}.`;
|
12
12
|
this.strengthIndicatorTarget.classList.remove("hidden");
|
13
13
|
} else {
|