From: Oguz Bektas <o.bektas@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup] loginview: fix typo
Date: Thu, 4 Feb 2021 14:53:24 +0100 [thread overview]
Message-ID: <20210204135324.768937-1-o.bektas@proxmox.com> (raw)
s/availabel/available/g
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
---
www/LoginView.js | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/www/LoginView.js b/www/LoginView.js
index f7380339..15373533 100644
--- a/www/LoginView.js
+++ b/www/LoginView.js
@@ -256,7 +256,7 @@ Ext.define('PBS.login.TfaWindow', {
data: {
confirmText: gettext('Confirm Second Factor'),
canConfirm: false,
- availabelChallenge: {},
+ availableChallenge: {},
},
},
@@ -284,7 +284,7 @@ Ext.define('PBS.login.TfaWindow', {
let initialTab = -1, i = 0;
for (const k of ['webauthn', 'totp', 'recovery']) {
const available = !!challenge[k];
- vm.set(`availabelChallenge.${k}`, available);
+ vm.set(`availableChallenge.${k}`, available);
if (available) {
if (i === lastTabId) {
@@ -491,7 +491,7 @@ Ext.define('PBS.login.TfaWindow', {
confirmText: gettext('Start WebAuthn challenge'),
handler: 'loginWebauthn',
bind: {
- disabled: '{!availabelChallenge.webauthn}',
+ disabled: '{!availableChallenge.webauthn}',
},
items: [
{
@@ -512,7 +512,7 @@ Ext.define('PBS.login.TfaWindow', {
iconCls: 'fa fa-fw fa-clock-o',
handler: 'loginTotp',
bind: {
- disabled: '{!availabelChallenge.totp}',
+ disabled: '{!availableChallenge.totp}',
},
items: [
{
@@ -534,7 +534,7 @@ Ext.define('PBS.login.TfaWindow', {
iconCls: 'fa fa-fw fa-file-text-o',
handler: 'loginRecovery',
bind: {
- disabled: '{!availabelChallenge.recovery}',
+ disabled: '{!availableChallenge.recovery}',
},
items: [
{
--
2.20.1
next reply other threads:[~2021-02-04 13:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-04 13:53 Oguz Bektas [this message]
2021-02-08 11:57 ` [pbs-devel] applied: " Thomas Lamprecht
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210204135324.768937-1-o.bektas@proxmox.com \
--to=o.bektas@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.