From 75e57749f0c8dca4b5d81b7ca2b70ff84afdb562 Mon Sep 17 00:00:00 2001 From: Evan Welsh Date: Sat, 30 Oct 2021 15:09:39 -0700 Subject: [PATCH] keyring: Fix incorrect reference to the label instead of string Part-of: --- js/ui/components/keyring.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/components/keyring.js b/js/ui/components/keyring.js index 8623f2fdd..cd7a81e95 100644 --- a/js/ui/components/keyring.js +++ b/js/ui/components/keyring.js @@ -76,7 +76,7 @@ class KeyringDialog extends ModalDialog.ModalDialog { warning.opacity = this.prompt.warning_visible ? 255 : 0; }); this.prompt.connect('notify::warning', () => { - if (this._passwordEntry && warning !== '') + if (this._passwordEntry && this.prompt.warning !== '') Util.wiggle(this._passwordEntry); }); warningBox.add_child(warning);